Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS / NIS -- permission denied! 2

Status
Not open for further replies.

smikes19

MIS
Oct 18, 2001
62
US
Hi,
I have several solaris machines, each with a different version of solaris. I also have a main raid machine, running solaris 8. This raid's filesystem is exported via a NIS map to the other machines.

When I log into the other machines, and I su root, I can't delete anything on that exported filesystem. I get a permission denied. Here is my sharetab and dfstab.

/mwraid - nfs rw mwraid

share -F nfs -o rw -d "mwraid" /mwraid


Anyone have any ideas why root can't delete stuff anywhere except on that local machine?
 
you can't delete anything as root ... it's not allowed under NFS ...

root will appear as user 'nobody' on the machine the disks belong to.

'nobody' will not have super user access on the remote devices ...

if you want to administer the disks you will have to connect to the machine that the disks are local on.

Jon
 
Due to security concerns, the root user is given "nobody"
permissions when it tries to read from or write to a NFS file system, this means that root has less access than any user, will only be able to read from things with world read permissions, and will only be able to write to things with world write permissions, if you would like your machine to have normal root permissions to a filesystem, the filesystem must be exported with the option:
"root=clientmachine"
An alternative is to export the filesystem with the option:
"anon=0"
This will allow everyone to mount the partition with full root permissions.

Hope it helps,

Regards,

Carlos Almeida,


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top