Date: Sun, 03 Jan 1999 17:46:52 -0500 From: "Michael G." <mikegoe@ibm.net> To: "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: User to mount device? Message-ID: <199901032254.WAA69450@out5.ibm.net>
next in thread | raw e-mail | index | archive | help
This was a great idea and works perfectly..thanks!
Michael G.
On Sun, 3 Jan 1999 0
brian@worldcontrol.com
wrote:
>How about creating a mount binary which is setuid to root and
>only executable by root and people in a certain group.
>
>edit /etc/group and add users allowed to run the user_mount command
>mount:*:98:user1,user2,user3
>
>cp /sbin/mount /sbin/user_mount
>
>chown root:mount /sbin/user_mount
>chmod 4750 /sbin/user_mount (you might try 4710)
------------------------------------------------------------
----------------------
ICQ #24517082 Live FreeBSD...Or Die!
PIC X 10 VALUE "YES
COBOL"
------------------------------------------------------------
---------------------
----------------------------------------------------------------------------------
ICQ #24517082 Live FreeBSD...Or Die!
PIC X 10 VALUE "YES! COBOL"
---------------------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901032254.WAA69450>
