Lowell Gilbert wrote:
Bsd Neophyte <[EMAIL PROTECTED]> writes:


--- "DaleCo, S.P.---'the solutions people'" <[EMAIL PROTECTED]> wrote:

Do you have a passwd for "toor"?

KDK
no... i don't...
as for the -m option...

i tried it but it doesn't work.

-m Leave the environment unmodified. The invoked shell is your
login shell, and no directory changes are made. As a security
precaution, if the target user's shell is a non-standard shell
(as defined by getusershell(3)) and the caller's real uid is non-
zero, su will fail.

can someone explain what this means? starting from the "As a security..."
until the end.

"if the target user's shell is a non-standard shell": the "target user" is root, and "non-standard" is defined in
getusershell(3) (which basically says that it has to be in
/etc/shells, which /usr/bin/bash isn't)

"and the caller's real uid is non-zero": this means that if you're already root, the target user's shell
doesn't have to be "standard"

So you're out of luck.

All you have to do is boot to single user and un-fubar your system. It asks what shell and you mount your system and provide root with a good shell. You are seeing one of the reasons that many of us leave root as its default cshell.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to