LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   not all users (https://www.linuxquestions.org/questions/slackware-14/not-all-users-422196/)

carmelo 03-06-2006 12:48 PM

not all users
 
hi to everybody,

my fstab file has tis line:

/dev/fd0 /mnt/floppy auto noauto,user 0 0

in this way every user can mount floppy ...but i wish that only users that i choose can do that.
Is possible to do that ??

thanks.

jomen 03-06-2006 01:46 PM

Make the floppy device to be owned by a group (i.e. group floppy) then add the users which should be able to use the floppy to that group.

Code:

groupadd floppy <-- if this group did not exist yet...
chown root:floppy /dev/fd0 <-- if this device does not have its own group already
gpasswd -a user floppy

<-- add the user to the group


All times are GMT -5. The time now is 07:33 PM.