Allowing Normal Users to Mount?


Recommended Posts

I've read around but so far havn't come across anything. I'm having a little problem getting things setup so that certain users are allowed to mount without logging in as su. I've read around and some people say that its all a matter of adding the users to a certain group, if that is in fact the case - what group? Some people tell me you also have to edit the Fstab as well, but than again - what do I add to it? I'm working with Slackware 9.1. If anybody has an answers for me I'd really appreciate it.

Link to comment
Share on other sites

are you trying to mount the cdrom? or a hard drive?

if it's the cdrom the line in /etc/fstab should look something like this

/dev/thedevice              /mnt/cdrom                  cd9660  ro,noauto       0       0

take note that I use freebsd, so it might be a little bit different than that for you, but it gives you a general idea.

Link to comment
Share on other sites

are you trying to mount the cdrom? or a hard drive?

if it's the cdrom the line in /etc/fstab should look something like this

/dev/thedevice              /mnt/cdrom                  cd9660  ro,noauto       0       0

take note that I use freebsd, so it might be a little bit different than that for you, but it gives you a general idea.

Yeah, trying to mount cdrom. I'll give that a shot today. Thanks man, appreciate the help. If anyone else has any tips/suggestions my ears are open.

Link to comment
Share on other sites

You see where it says "ro,noauto?" Add "user" to that column. That will allow users to mount the drive and give that user permission to write to it. If you want all users to be able to write to it, add "umask=000" to the ame column as well as "user."

Link to comment
Share on other sites

You see where it says "ro,noauto?" Add "user" to that column. That will allow users to mount the drive and give that user permission to write to it. If you want all users to be able to write to it, add "umask=000" to the ame column as well as "user."

/dev/thedevice /mnt/cdrom cd9660 ro,noauto jheck 0 0

Like so? or...

/dev/thedevice /mnt/cdrom cd9660 ro,noauto,jheck 0 0

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.