1832978 Members
2745 Online
110048 Solutions
New Discussion

Re: Nfs related

 
T G Manikandan
Honored Contributor

Nfs related

Hello,
Is there a possibility to share file systems on the network by providing different access to different users.
Does Unix support only remote machine privilege rather than user privilege for nfs?
My problem is that I am trying to restrict a remote user to use nfs filesystem readonly and another user on the same remote machine to use the same nfs file system read write.
Is there a possibility in doing that?


Another important point to note!
In my last query at the forums someone was pointing me that I have not assigned any points to 34 responses.
How should I assign points?What is the Max.range?Is that for 10.
Can someone help me giving be a brief...
I have been always thankful to the solutions the tech.people provide here.
Thanks.
Manikandan
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Nfs related

NFS works only on on hostnames, since the connection is based on each machine, not each user. Check the man page for exports for more information, or you can look at the doc online here: http://docs.hp.com/hpux/onlinedocs/B2355-90682/B2355-90682.html

You should still be able to give one user read-write access and another read-only access by using basic unix security, ie groups. Lets look at this example:

You have a directory that has permissions of 775 (drwxrwxr-x) and is owned by apps and has a group of apps1. You have this NFS mounted. You have user1 that is a member of the apps1 group, thus he has read-write access to the directory. Then you have user2 that is NOT a member of group apps1, he has read-only access. This should do what you want to do.


As far as the points issue goes, this is explained in the text that comes up AFTER you post a question. As a refresher though:

1) Make sure you are logged in. If you are you should see a message that says "Welcome, Your Name" on the left side of your screen below the "IT Resource Center" menu bar. If you are not logged in, click on the "login" option on the menu on the left. You can not assign point unless you are logged in.

2) On the right side of EACH response is an icon that says "Assign Point". Click on this. It will bring the response up, and you can then assign points. The range is from 1 (low...Didn't help you) to 10 (HIGH...Solved the problem). This range is good for EACH response. All responses could have 10 points assigned, or all could have 1 point assigned. You can also assign an "NA" if the response was duplicated due to forums problems or something similar.

3) You must click on the "Assign Points" icon for each response INDIVIDUALLY. This is cumbersome, but right now it's all we've got. (Hopefully Laurent has the developers working on this.).

Hopefully this all helps you.
Stefan Schulz
Honored Contributor

Re: Nfs related

As NFS mounts are done by the machine and not by the user there is no way to use different access rights. So you have to use the normal rights for users and groups.

But this should be pretty easy. Put those users in question in two different groups and set the rights to 775 for the group who needs write access. All useres in another group this directory has only read access.

As for the points:

On the left side under the explanation of the different hat categories you will find a link "how to earn points". Following this link you will find a good explanation of the pointsystem and how to assign points.

Hope this helps. Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Bill McNAMARA_1
Honored Contributor

Re: Nfs related

Hey TG, don't forget to assign points to your 45 questions......

http://forums.itrc.hp.com/cm/UserProfile/1,1157,CA591749,00.html

Later,
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: Nfs related

apologies, I didn't read you question fully,
assign points via the Assign Points button over the users response.

Related to you N class GSP login,
resetting the GSP back to defaults leaves the password and username blank.
You can then create via the SO option other logins.

Later,
Bill
It works for me (tm)
Meijer, H.J.
Occasional Contributor

Re: Nfs related

Hi T.G.

Using acl(5) would be a way of assigning rights on a per user basis. Hope this helps.

Harm
T G Manikandan
Honored Contributor

Re: Nfs related

Hello,
The OS I am using is SUNOS4.1.4.
I could not find any acl support for that.
Are there some add-ons to provide acl's for the solaris 1.1.2?
Bye.