Is it possible that this error actually means that the user has no home directory? You'll need that for ssh access anyway.
-- Owen On Sat, Jun 18, 2005 at 07:53:25PM -0700, Chris Bullock wrote: > I do not want to chroot the user, just want the user to be able to ssh in > to execute vacation. bin/bash is in etc shells > user:x:605:605:User Name:/home/user:/bin/bash > > --- Jon Carnes <[EMAIL PROTECTED]> wrote: > > > If you are chrooting the user then you will need to create a /bin inside > > the chroot and copy bash into it. > > Also check that "/bin/bash" is in /etc/shells > > look at the file permissions on /bin/bash > > > > Post the line from your /etc/passwd file > > > > Jon > > > > On Sat, 2005-06-18 at 13:44, Chris Bullock wrote: > > > postfix mail server running some flavor of red hat 7.x, I have a user > > I > > > wish to execute the vacation command. I change /etc/password to let > > the > > > user have a /bin/bash shell instead of /bin/false, but when I try to > > su to > > > the users acct I get the following error "su: can not run /bin/bash, > > no > > > such file or directory" bash is installed and I currently use it for > > my > > > user. I have tried to change to another shell and the error remains > > the > > > same substituting the shell I give the user. > > > Any ideas? > > > Regards, > > > Chris > > > -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
