Re: Thanks! and... the su command
On Sun, Mar 26, 2006 at 01:07:15PM +0200, Freek Nossin wrote: > > -Original Message- > > From: Dan Nelson [mailto:[EMAIL PROTECTED] > > Sent: zondag 26 maart 2006 8:54 > > To: Saul Mena Avila > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Thanks! and... the su command > > > > In the last episode (Mar 26), Saul Mena Avila said: > > > Hi!. Thanks for helping me with the USB flash memory. I've also have > > trouble > > > with the su command... since I installed the FreeBSD 5.4, everytime I > > try to > > > login as root with su, the shell answers me with "Sorry"... and that's > > all. > > > Is it wrong configured or installed? > > > > You need to be in the 'wheel' group to su to root. It's not mentioned > > in the su manpage, but is in both the FAQ and handbook. > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing- > > freebsd.html > > > > -- > > Dan Nelson > > [EMAIL PROTECTED] > > > Although it is described in the handbook, in my opinion an "error message", > or more generally a "feedback message", should give more useful feedback to > the user. Now the user must think of all the checks that can fail while - in > this case - authenticating, which is rather silly when you think of it, > because the su-command, just did exactly the same, and could have easily > printed a message that would describe the check on which it returned the > error. > > - Freek Nossin > > PS: > cc to freebsd-? > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > There is a way to su root anyway. Should you read su(1) and pam.conf(5), you see that your ability to su root depends on the /etc/pam.d/su For the first time, you can delete this file, and you will be able to su anybody always. But this is not a good way for security reasons. Then read pam.conf(5) and edit the /etc/pam.d/su in a way allowing you to su root. But only you. Elisej Babenko mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Thanks! and... the su command
> -Original Message- > From: Dan Nelson [mailto:[EMAIL PROTECTED] > Sent: zondag 26 maart 2006 8:54 > To: Saul Mena Avila > Cc: freebsd-questions@freebsd.org > Subject: Re: Thanks! and... the su command > > In the last episode (Mar 26), Saul Mena Avila said: > > Hi!. Thanks for helping me with the USB flash memory. I've also have > trouble > > with the su command... since I installed the FreeBSD 5.4, everytime I > try to > > login as root with su, the shell answers me with "Sorry"... and that's > all. > > Is it wrong configured or installed? > > You need to be in the 'wheel' group to su to root. It's not mentioned > in the su manpage, but is in both the FAQ and handbook. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing- > freebsd.html > > -- > Dan Nelson > [EMAIL PROTECTED] Although it is described in the handbook, in my opinion an "error message", or more generally a "feedback message", should give more useful feedback to the user. Now the user must think of all the checks that can fail while - in this case - authenticating, which is rather silly when you think of it, because the su-command, just did exactly the same, and could have easily printed a message that would describe the check on which it returned the error. - Freek Nossin PS: cc to freebsd-? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks! and... the su command
Saul Mena Avila wrote: Hi!. Thanks for helping me with the USB flash memory. I've also have trouble with the su command... since I installed the FreeBSD 5.4, everytime I try to login as root with su, the shell answers me with "Sorry"... and that's all. Is it wrong configured or installed? -saul Hi, Check to see if you belong to the wheel group. As root #pw groupshow wheel If your user name doesn't appear then do this #pw groupmod wheel -m your_user_name_here Next time you log in as that user you should be able to su to root --Duane Whitty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks! and... the su command
On Sunday 26 March 2006 00:45, Saul Mena Avila wrote: > Hi!. Thanks for helping me with the USB flash memory. I've also have > trouble with the su command... since I installed the FreeBSD 5.4, everytime > I try to login as root with su, the shell answers me with "Sorry"... and > that's all. Is it wrong configured or installed? That's the same error I get when I've mistyped the root password. David -- Sure God created the world in only six days, but He didn't have an established userbase. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks! and... the su command
In the last episode (Mar 26), Saul Mena Avila said: > Hi!. Thanks for helping me with the USB flash memory. I've also have trouble > with the su command... since I installed the FreeBSD 5.4, everytime I try to > login as root with su, the shell answers me with "Sorry"... and that's all. > Is it wrong configured or installed? You need to be in the 'wheel' group to su to root. It's not mentioned in the su manpage, but is in both the FAQ and handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing-freebsd.html -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Thanks! and... the su command
On Sun, 26 Mar 2006, Saul Mena Avila wrote: Hi!. Thanks for helping me with the USB flash memory. I've also have trouble with the su command... since I installed the FreeBSD 5.4, everytime I try to login as root with su, the shell answers me with "Sorry"... and that's all. Is it wrong configured or installed? Per default only members of group "wheel" are allowed to su to root. Regards, Uli. -saul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"