[TriLUG] su: can not run bin bash, no such file or directory
cgbullock at yahoo.com
Sat Jun 18 22:53:25 EDT 2005
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
--- Jon Carnes <jonc at nc.rr.com> 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
> 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
> > wish to execute the vacation command. I change /etc/password to let
> > 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,
> > such file or directory" bash is installed and I currently use it for
> > user. I have tried to change to another shell and the error remains
> > same substituting the shell I give the user.
> > Any ideas?
> > Regards,
> > Chris
> > __________________________________
> > Do you Yahoo!?
> > Make Yahoo! your home page
> > http://www.yahoo.com/r/hs
> TriLUG mailing list :
> 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
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the TriLUG