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 <[EMAIL PROTECTED]>
>> To: armstrong adam <[EMAIL PROTECTED]>
>> CC: [EMAIL PROTECTED]
>> 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 <[EMAIL PROTECTED]>
>> ----------------------------------------------------------------------
>>                              "Beer. Now there's a temporary solution."
>>                                                        - Homer Simpson
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to