[TriLUG] su: can not run bin bash, no such file or directory

Jon Carnes jonc at nc.rr.com
Sat Jun 18 21:28:00 EDT 2005


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
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Make Yahoo! your home page 
> http://www.yahoo.com/r/hs




More information about the TriLUG mailing list