- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS displays "nobody"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 05:31 AM
тАО07-03-2001 05:31 AM
drwxrwxrwx 2 nobody 429448 64 Jul 3 05:38 phld
Does it mean those directories were not being created using root login, what's the "nobody" real meaning, I am not for sure if it will cause problems, any hints?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 05:55 AM
тАО07-03-2001 05:55 AM
Re: NFS displays "nobody"
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 06:16 AM
тАО07-03-2001 06:16 AM
Re: NFS displays "nobody"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 06:19 AM
тАО07-03-2001 06:19 AM
Re: NFS displays "nobody"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 06:23 AM
тАО07-03-2001 06:23 AM
Re: NFS displays "nobody"
By default file systems exported by NFS server are exported with no root access. Then root on the NFS client is treated as nobody user. And all files and directories created by this root (assuming write permissions for the world) are owned by nobody user.
Think that this is your case.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 06:27 AM
тАО07-03-2001 06:27 AM
Re: NFS displays "nobody"
Why I cannot change "nobody" by using
# chown root phld
No any error, but when I use ll to list again, it is still "nobody"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 07:16 AM
тАО07-03-2001 07:16 AM
Re: NFS displays "nobody"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 07:28 AM
тАО07-03-2001 07:28 AM
Re: NFS displays "nobody"
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 07:31 AM
тАО07-03-2001 07:31 AM
Re: NFS displays "nobody"
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 07:31 AM
тАО07-12-2001 07:31 AM
Re: NFS displays "nobody"
When I trying to change the permission, it says that I am not the owner
chmod 777 filename
chmod: can not change filename: Not owner
I know the reason why I can not do it is I have no root right, in this case, my unix box only is a client, however, is it possible to do the permission change from client side?
Your quick response will be really appreciate, I will award points to all of your answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 07:38 AM
тАО07-12-2001 07:38 AM
Re: NFS displays "nobody"
About your last question:
Check the entries in /etc/exports, try something like:
/home/trans -root=client1
where /home/trans is the NFS-exported directory and client1 is the name of the root-rights granted machine (Beware: ROOT!!!)
You have to check the entries on the NFS-Master ...
Finally re-export the filesystem using exportfs -va
and everything should be fine ...
Hope this helps
Cheers
Oli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 07:40 AM
тАО07-12-2001 07:40 AM
Re: NFS displays "nobody"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 08:02 AM
тАО07-12-2001 08:02 AM
Re: NFS displays "nobody"
In my case, the file system located in NT server, so far I can not access the NT server because somebody else take care of it, the current unix box only is a client, here is my steps:
umount /usr/NFS
vi /etc/exports
change "/usr/NFS -anon=65534" to
"/usr/NFs -root=cotgin,anon=65534"
exportfs -va
mount /usr/NFS
But nothing changed, more suggestion? By the way, do you think I need change "PCNFS_SERVER=0" to "1"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 08:11 AM
тАО07-12-2001 08:11 AM
Re: NFS displays "nobody"
In your case I guess the NFS-mount is configured via NT-NFS (e.g. Samba) So the permissions have to be given by your NT-Server-Admin.
Asuming NT uses Samba, there is somewhere a setting in the Web-Admin which allows the admin to grant root access to a unix machine.
If you have inserted the lines in your local workstation /etc/exports you can delete them, they affect YOUR client!
Sorry, but the setting
"PCNFS_SERVER=0" to "1"
is unknown to me ... no clue.
I know it's no good news, but maybe your relationship to the NT-admin is better than mine to ours ;)
Cheers
Oli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 08:28 AM
тАО07-12-2001 08:28 AM
Re: NFS displays "nobody"
The root of your permissions problem is probably the fact the file system you are mounting is from an NT server. Since you are a client machine, changing anything in /etc/exports will not have any effect on the way the directory is mounted on your HP-UX box.
If you want to see what, if any, options are being used to mount that directory from the NT machine, have a look at your /etc/fstab file. There should be a line in there similar to:
NT_Machine:/directory/exported /usr/NFS nfs rw,suid 0 0
This may give you some clues as to how it is mounted and what else you can do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 08:37 AM
тАО07-12-2001 08:37 AM
Re: NFS displays "nobody"
The /etc/fstab says
mis_server:/E/NFS /usr/NFS nfs rw, suid 0 0
Can you give me more explanation about it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 08:44 AM
тАО07-12-2001 08:44 AM
Re: NFS displays "nobody"
That line is what will be passed to the mount command when that directory is mounted.
mis_server:/E/NFS -- This is saying that the directory /E/NFS on server mis_server will be mounted
/usr/NFS -- The directory on the local machine that the above will be mounted to.
nfs - indicates that it is an nfs mount
rw,suid - indicated that you have read/write access and suid (allows Set UID execution of programs / scripts) in this directory
0 0 -- basically irrelevant to an nfs mounted file system
If you want more information on the options used to mount do a 'man mount_nfs'.
This directory is mounted such that you should have read and write access to everything there. The permissions issue, I'm sure is related to how it is exported (or shared -- whatever) from the NT machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 09:57 AM
тАО07-12-2001 09:57 AM
Re: NFS displays "nobody"
Here is what I did half an hour ago:
1. umount /usr/NFS
2. modify /etc/exports
deleted line related with /usr/NFS because in this case hp is only a client
3. /sbin/init.d/nfs.client stop
4. /sbin/init.d/nfs.server stop
5. /sbin/init.d/nfs.client start
6. /sbin/init.d/nfs.server start
No error. After that, I can see the /usr/NFS by mount -v or bdf, unfortunately, when I input
cd /usr/NFS
ll
It says "total 0". I have no idea what happened.
According to your messae and my test result, I am sure it is NT server's problem. However, what's wrong with my test, and why ll says "total 0"?