LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-17-2005, 05:07 PM   #1
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Rep: Reputation: 30
sudo read write on server


hi guys,

hate to ask this cause i thought i would figure this out easily with some reading and trying out all different options... but guess what.
trying to figure this out for about a week and no luck yet, and tomorrow this very simple thing has te be done, cause somebody needs this computer to work on..

here's what i need:

i need a user to have wite acces to a share on a server!!!

got everything mounted with samba, no issue's there.
i know its just a simple line in the etc/sudoers, but its giving me a huge headache, so if somebody knows..


much obliged
 
Old 06-19-2005, 02:33 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
I don't know what sudoers has got to do with
samba ... if you need the user (one specific user,
that is) to be able to write your share mount
the share with the users uid ... if it's more than
one user that should be able to mount maybe
make them all use a common windows user/password,
and then give them (that's where sudo would
actually come into the picture ;}) the power to
mount stuff that's NOT in fstab, and write a script
that mounts the shares with their respective UID ...


Cheers,
Tink
 
Old 06-19-2005, 06:50 AM   #3
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Original Poster
Rep: Reputation: 30
ahum..............

i already wondered why i couldn't find anything on google about it.... feel kinda stupid now.

you're absolutely right on this, and it made me look at the fstab again, guess what, just a simple spelling misstake did the trick, i wrote guid instead of uid. and i've been staring at this for a long time.


well thnx.
 
Old 06-19-2005, 01:45 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Well - I'm glad you have it sorted ;}


Cheers,
Tink
 
  


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
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
smb.conf assistance on read/write server jer2eydevil88 Linux - Newbie 9 09-28-2005 07:26 PM
Can read but cannot write to Linux Server from other computers. radudley Linux - Networking 3 08-12-2004 01:09 PM
For Squid (proxy server) gurus: FTP from browser with read-write-modify permission Zingaro2002 Linux - Software 5 11-24-2003 04:56 AM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 11:33 AM


All times are GMT -5. The time now is 06:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration