LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2006, 09:27 AM   #1
Robeasts
Member
 
Registered: Dec 2005
Distribution: Ubuntu 6.10, Simply MEPIS 6.0
Posts: 35

Rep: Reputation: 15
Problem mounting with different uid


I am trying to mount a volume on a server using a different uid. I have successfully mounted a volume using uid=XX12 (which I am logged in under). I would like to mount an additional volume using uid=XX17.

I was wondering if I could add something to the statement I have in the /etc/fstab file - I was thinking something like suid=XX17.

XXX.XXX.XXX.XXX:/export/home/folder /home/username nfs rw,user,noauto 0 0

That's what I have. Is there anything that I can put in this statement to pass a different uid (XX17) other than the one I am currently logged in under (XX15)?

Thanks in advance for any help.
 
Old 09-20-2006, 10:06 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
yeah you could,
Quote:
XXX.XXX.XXX.XXX:/export/home/folder /home/username nfs uid=0,gid=0 0 0
 
Old 09-20-2006, 10:31 AM   #3
Robeasts
Member
 
Registered: Dec 2005
Distribution: Ubuntu 6.10, Simply MEPIS 6.0
Posts: 35

Original Poster
Rep: Reputation: 15
Problem mounting with different uid

Here is what my /etc/fstab comment says:

XXX.XXX.XXX.XXX:/export/home/folder /home/username nfs rw,user,noauto,uid=XX17,gid=XX17 0 0

When I try to mount it it tells me: unknown nfs mount parameter: uid=5017
 
Old 09-20-2006, 12:41 PM   #4
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
i mistook nfs for ntfs, baah always gets me confused.
anyhow, nfs very much depends on the dir being exported. it sets the same uid/gid as on the server. thats the reason the uid and gid arent working.
 
Old 09-20-2006, 01:21 PM   #5
Robeasts
Member
 
Registered: Dec 2005
Distribution: Ubuntu 6.10, Simply MEPIS 6.0
Posts: 35

Original Poster
Rep: Reputation: 15
Problem mounting with different uid

So is there a way to do it using ntf? Or do I have to use nTfs? Thanks.
 
Old 09-21-2006, 08:54 AM   #6
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Since you are using SuSE 10.1 then you could use YaST to do this.
 
  


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
UID Problem thammerlund Linux - Newbie 4 07-19-2006 12:43 AM
Changing the UID of a Physical Volume to a specific UID jambraun Linux - Newbie 2 02-09-2006 02:34 PM
FREEBSD5.3 platform: PHP setcookie() successful, but $uid = $_COOKIE['uid']; fail tclwp Programming 1 03-30-2005 08:05 PM
Mounting NFS Shares ... UID Problem Riddick Linux - Software 1 01-06-2005 09:48 AM
mounting an iso9660 with uid and gid set to user cwin Linux - Software 3 12-22-2004 05:45 PM


All times are GMT -5. The time now is 02:34 PM.

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