LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-30-2006, 03:37 PM   #1
jag7720
Member
 
Registered: Aug 2003
Posts: 50

Rep: Reputation: 15
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
 
Old 12-01-2006, 03:23 AM   #2
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.2 64bit
Posts: 917
Blog Entries: 5

Rep: Reputation: 148Reputation: 148
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 ?
 
Old 12-01-2006, 09:07 AM   #3
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 02:35 AM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 12:34 PM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 09:00 AM
allow users to mount a samba file share only amon Linux - Software 3 04-05-2006 03:48 PM
trying to share folder between 2 users aymbpc Linux - Newbie 6 09-22-2003 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration