how can I su as root over telnet or ssh?

Thomas freebsdlists at bsdunix.ch
Mon Sep 4 01:00:38 PDT 2006


Hi

The manpage for su explains it.

     PAM is used to set the policy su(1) will use.  In particular, by
default
     only users in the ``wheel'' group can switch to UID 0 (``root'').

Cheers,
Thomas

armstrong adam schrieb:
> It really woks!!thanks,
> but why this happen?
> which part of the document explain this?
> I browsed the documentation and cannot find it
> 
> 
>> From: Jonathan Chen <jonc at chen.org.nz>
>> To: armstrong adam <adamarmstrong59 at hotmail.com>
>> CC: questions at freebsd.org
>> Subject: Re: how can I su as root over telnet or ssh?
>> Date: Mon, 4 Sep 2006 14:19:18 +1200
>>
>> On Mon, Sep 04, 2006 at 10:12:26AM +0800, armstrong adam wrote:
>> > yes,the user logging on is in the wheel group,
>>
>> You should add the user to `wheel' via /etc/group, and not via
>> the login-group.
>> -- 
>> Jonathan Chen <jonc at chen.org.nz>
>> ----------------------------------------------------------------------
>>                              "Beer. Now there's a temporary solution."
>>                                                        - Homer Simpson
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list