On Mon, Sep 1, 2008 at 11:14 AM, Chris Henry <[EMAIL PROTECTED]>wrote:
> On Sun, Aug 31, 2008 at 8:11 PM, Low Chin Chau <[EMAIL PROTECTED]> wrote: > > I suspect you mean 'sudo' command, since anyone can 'su' as long as you > know > > the password. > > That's not true. In some system su is disabled (well you can > technically `sudo su`). Additionally PAM may disallow su through ssh. > If using PAM, look in /etc/pam.d/su to see if there is a line that says something like "auth required pam_wheel.so". If uncommented, that will tell you which group users need to be in to su. > > you need to do 'visudo' as root > > This will edit a file 'sudoers' typically in the '/etc/', you can find > the > > syntax for sudoers using 'man 5 sudoers' > > Enjoy. > > On Sep 1, 2008, at 8:34 AM, [EMAIL PROTECTED] wrote: > > > > Try adding the user to the 'wheel' group. eg. vigr, usermod -a -G > > > > On Mon, Sep 1, 2008 at 2:00 AM, Yong Han <[EMAIL PROTECTED]> wrote: > >> > >> hi, > >> > >> sorry to ask such simple question: > >> > >> how to add user with the ability to do the su command? > >> > >> thanks in advance! > >> > >> yonghan. > >> _______________________________________________ > >> Slugnet mailing list > >> [email protected] > >> http://wiki.lugs.org.sg/LugsMailingListFaq > >> http://www.lugs.org.sg/mailman/listinfo/slugnet > >> > > > > _______________________________________________ > > Slugnet mailing list > > [email protected] > > http://wiki.lugs.org.sg/LugsMailingListFaq > > http://www.lugs.org.sg/mailman/listinfo/slugnet > > > > > > _______________________________________________ > > Slugnet mailing list > > [email protected] > > http://wiki.lugs.org.sg/LugsMailingListFaq > > http://www.lugs.org.sg/mailman/listinfo/slugnet > > > > > > > > -- > Chris > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > _______________________________________________ > Slugnet mailing list > [email protected] > http://wiki.lugs.org.sg/LugsMailingListFaq > http://www.lugs.org.sg/mailman/listinfo/slugnet >
_______________________________________________ Slugnet mailing list [email protected] http://wiki.lugs.org.sg/LugsMailingListFaq http://www.lugs.org.sg/mailman/listinfo/slugnet
