![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how i can share from fc5 folder | sadiquep | Linux | 0 | 04-07-2007 02:25 PM |
| how to share filesystem | eykyn17 | HP-UX | 0 | 03-20-2007 09:36 AM |
| Which Files To Share WIth CSM? | MyMateDave | AIX | 0 | 03-23-2006 02:24 AM |
| Share CD-Writer | Sergiu-IT | UNIX for Dummies Questions & Answers | 2 | 05-12-2005 10:22 AM |
| How can I share dir | Z0DiaC | UNIX for Dummies Questions & Answers | 4 | 08-28-2001 11:46 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
NFS share options
Hello,
I'm doing a Perl script to parse the dfstab file and find dangerous configurations (rw to everyone, root access, etc). My question is, if I have a share command like this: Code:
share -F nfs -o ro=chrome:copper:zinc,root=chrome /usr/man Thanks. |
| Forum Sponsor | ||
|
|
|
|||
|
and nfs share of rw isn't necessarily dangerous, as it may be appropriate for clients to write to servers. the user/group/read/write/execute attributes are still respected, however you need to confirm that there is a one to one mapping for uids and gids between server and all clients.
the "root=" means that the root from server chrome will be allowed root access to this share. This would typically be used for diskless clients. |
|
|||
|
Well, I think I was not explicit enough. With that share options, it means that /usr/man is rw to everyone due to the absent of rw in the options configuration? Or the ro option overwrites the default rw behaviour? It's the same having this:
Code:
share -F nfs -o ro=chrome:copper:zinc,root=chrome /usr/man Code:
share -F nfs -o ro=chrome:copper:zinc,root=chrome,rw /usr/man Nevermind the other options, they're there just as an example. |
|
|||
|
A share is read/write unless the read only option is changes it.
Code:
ro Sharing will be read-only to all clients.
ro=access_list
Sharing will be read-only to the clients
listed in access_list; overrides the rw
suboption for the clients specified. See
access_list below.
|