Date: Tue, 1 Jul 2008 12:51:16 +0200 From: cpghost <cpghost@cordula.ws> To: Warren Liddell <shinjii@maydias.com> Cc: freebsd-questions@freebsd.org Subject: Re: cant su to root Message-ID: <20080701125116.0735ae6d@epia-2.farid-hajji.net> In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Jul 2008 20:43:21 +1000 Warren Liddell <shinjii@maydias.com> wrote: > When i try to su to root from konsole within kde it tells me.. >=20 > $ su > su: Sorry >=20 > i got a feeling when i added my user client to operators group this > may have done this an sadly now i cant run or do anything that > requires root access. >=20 > Any thoughts? Add the the users who should be able to su to root to the 'wheel' group: In /etc/group: wheel:*:0:root,user1,user2,... =46rom su(1) manpage: 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''). This group requirement may be changed by modifying the ``pam_group'' section of /etc/pam.d/su. See pam_group(8) for details on how to modify this setting. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080701125116.0735ae6d>