LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   allow users to mount any share (https://www.linuxquestions.org/questions/slackware-14/allow-users-to-mount-any-share-506306/)

jag7720 11-30-2006 02:37 PM

allow users to mount any share
 
How do I allow users to mount anything?
I don't want to have to edit fstab everytime I have a new windows share.

Can I just allow users to MOUNT a share?

I don't wnat to have to use sudo either.

How do I do this?

Thanks

gegechris99 12-01-2006 02:23 AM

I don't think you can allow any user to mount a partition without first specifying it somewhere (basically into /etc/fstab) or giving execution right to the user (e.g sudo).

If I understand you well, you want any user to be able to run the mount command to do whatever this command can do. And you don't want to use sudo for this command (that is saying the user is authorized to run this system command).

That sounds strange to me as this doesn't look like a good recipe for security.

Would you be ready to sacrifice your system security for saving you some minutes to edit the /etc/fstab file ?

rkrishna 12-01-2006 08:07 AM

may not be correct but suggestion...with fstab only


auto for mount auto at the boot time, umask for permission 777 to all, i think you can specify "user" to tath also

/dev/hda5 /media/win-e vfat auto,rw,umask=000 1 0

regards


All times are GMT -5. The time now is 12:45 AM.