[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] su command




"Ron" <shrestha@nospam.ihug.com.au>
> I'm having problem with my "su" command. I can't use su command to be
> root. It gives me following error message after entering root password:
> 
>  su: coannot run /bin/bash :No such file or directory
> 
> However, I can use su command to be some other user rather than root.
> 
> What could be the problem??

check /etc/passwd for the shell for root, is it sh or bash?
I thought it was supposed to be /sbin/sh?
somewhere along the line the pathname is wrong.
how about if you login as root rather than su?

Dave.
PS. don't email with html attachments please.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text