Date: Mon, 04 Sep 2006 09:59:52 +0200 From: Thomas <freebsdlists@bsdunix.ch> To: armstrong adam <adamarmstrong59@hotmail.com> Cc: questions@freebsd.org Subject: Re: how can I su as root over telnet or ssh? Message-ID: <44FBDCF8.9020601@bsdunix.ch> In-Reply-To: <BAY110-F34EA5BCF983E79AA3EF2BAA7330@phx.gbl> References: <BAY110-F34EA5BCF983E79AA3EF2BAA7330@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
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@chen.org.nz> >> To: armstrong adam <adamarmstrong59@hotmail.com> >> CC: questions@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@chen.org.nz> >> ---------------------------------------------------------------------- >> "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 > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FBDCF8.9020601>