1833770 Members
2805 Online
110063 Solutions
New Discussion

"nobody user"

 
SOLVED
Go to solution
f. halili
Trusted Contributor

"nobody user"

What is the "nobody" user for.

I did a pwck on one server and gave me:

# pwck

nobody:*:-2:-24::/:
Invalid GID
The entry on the /etc/passwd for this user is
"nobody:*:-2:-24::/:"

On another system pwck was clean and the enty on the /etc/passwd is "nobody:*:-2:60001::/:"

Any thoughts??

Thanks,
f. halili
derekh
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: "nobody user"

The -2 user which is also sometimes 65534 (which is the same value an -2 represented as a signed 16-nit integer) is the anonymous user for NFS. It is a normal entry.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: "nobody user"

Hi:

The 'nobody' user is used by NFS for root access. See the manpages for 'passwd(4)'.

Regards!

...JRF...
Arunvijai_4
Honored Contributor

Re: "nobody user"

Hello,

It is normail behaviour of HP-UX and user nobody. It has uid of -2 in HP-UX. You can check this information at,

http://www.unixguide.net/unixguide.shtml

Look for nobody.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Geoff Wild
Honored Contributor

Re: "nobody user"

By default, nobody should be -2 -2:

grep nobody /etc/passwd
nobody:*:-2:-2::/:


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
f. halili
Trusted Contributor

Re: "nobody user"

thanks!
derekh