Re: [Chrootssh-users] Cannot find account for uid
Brought to you by:
punkball
From: Bob R. <bo...@ro...> - 2003-10-09 03:16:43
|
Well, fortunately for me the etc/passwd file did the trick for the ssh problem. I was then able to ssh into a chroot'ed shell as expected. I was really after scp or sftp as well. I was able to get sftp to work by re-arranging my directory structure somewhat. I originally had sftp-server in the chroot'ed file-system at /usr/local/libexec/sftp-server. However, I needed to move it to /usr/libexec/openssh/sftp-server, then I could use sftp (command line ftp-like interface) which is adequate for my needs. When I tried scp I got the similar problem with an error no the userid, but I didn't try to track it down very far. thanks everyone for the help! bob On Wed, 8 Oct 2003 16:36:21 +0100 "Niall O'Hara" <np...@ei...> wrote: > I was the one originally with this problem and copying etc/passwd doesn't > make any difference :( not for me anyway > > I never got a solution :( > > -----Original Message----- > From: chr...@li... > [mailto:chr...@li...] On Behalf Of James > Dennis > Sent: 08 October 2003 16:11 > To: Bob Robison > Cc: chr...@li... > Subject: Re: [Chrootssh-users] Cannot find account for uid > > > Try copying /etc/passwd into the chroot. Write back if that doesn't > work. > > -James > > On Wednesday, October 8, 2003, at 07:48 AM, Bob Robison wrote: > > > > > I saw an email on this list from a month or two ago about someone > > seeing the following error when running sshd -d (but saw no post about > > a solution): > > > > login_get_lastlog: Cannot find account for uid xxx > > > > I'm having the same problem and was wondering if a solution was found. > > I am running the latest (I think) tarball > > openssh-3.7.1p2-chroot.tar.gz > > > > If I have the user without the /./ in the path, he can login fine. If > > I use root and run chroot /his/path /bin/sh I get a working, > > chroot-ed shell. If I try to ssh I get immediately disconnected with > > the above error showing up in the log. > > > > Any suggestions on where to look? > > > > thanks, > > bob > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Chrootssh-users mailing list Chr...@li... > > https://lists.sourceforge.net/lists/listinfo/chrootssh-users > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Chrootssh-users mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chrootssh-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Chrootssh-users mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chrootssh-users |