From owner-freebsd-questions Mon Sep 11 7: 2:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id B9A0837B43E for ; Mon, 11 Sep 2000 07:02:24 -0700 (PDT) Received: from magpage.com (poomba.magpage.com [216.155.24.136]) by magpage.com (8.8.8/8.8.5) with ESMTP id OAA15508; Mon, 11 Sep 2000 14:02:15 GMT Message-ID: <39BCE5E6.365473C4@magpage.com> Date: Mon, 11 Sep 2000 10:02:14 -0400 From: Daniel Frazier Organization: Magpage Internet Services X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Michael =?iso-8859-1?Q?Lyngb=F8l?= Cc: freebsd-questions@FreeBSD.ORG Subject: Re: restricted su References: <20000911134613.B34974@tigerdyr.candid.dk> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Michael Lyngbøl wrote: > > Hi, > > Is it possible to restrict 'su' to a specfic user to a specfic group? > > (just like only users in group 'wheel' may su to root) > > Thanks > /Michael > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Michael, To answer your question... if you have a user in a group that you wish to let su to root, you can just add that users name to the wheel group in /etc/group. User will be in both groups... man group for more info... hope this helps. -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 System Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message