On Tue, Apr 04, 2006 at 10:00:00AM -0500, Sergey Babkin wrote:
> 
> Would it make sense to be able to specify a group in fstab?
> Then the users can be simply given membership of this
> group to mount the devices.

Why not just assume allowable users are in the "operator" group.  Isn't
this what that group was designed for?  I certainly setup my boxes to give
users permission to access the soundcard and other "operators of this
machine" devices...

If not operator, then maybe one configurable group, defaulting to operator.
Admins who want special circumstances can use devfs rules to set the group
for certain devices.

This way, we use unix-isms such as:
1). can the user mount filesystems?  (vfs.usermount)
2). does the user have permissions to the device?  (e.g. group-read/write
to said device)
3). does the user have permissions to the mountpoint?  (e.g. user
read/write/execute)

-- Rick C. Petty
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to