Operating System - HP-UX
1748274 Members
4280 Online
108761 Solutions
New Discussion юеВ

your nobody til somebody loves you

 
SOLVED
Go to solution
Peter Brimacombe
Frequent Advisor

your nobody til somebody loves you

I just discovered pwck ( man pwck)

it shows me nobody in /etc/passwd, I've seen this for the last 10 years and shrugged my shoulders

what purpose does it serve?
can I remove nobody from /etc/passwd ?
7 REPLIES 7
Bill McNAMARA_1
Honored Contributor

Re: your nobody til somebody loves you

Just make sure nobody gets a shell ie
last parameter in /etc/passwd
should not be a shell.

I believe nobody is used for XDMCP connections, although I was always a bit puzzled like you!!

Later,
Bill
It works for me (tm)
James R. Ferguson
Acclaimed Contributor

Re: your nobody til somebody loves you

Hi Peter:

The user (and uid) 'nobody' is used by NFS.

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: your nobody til somebody loves you

Hi Peter,

-2 is the uid assigned to anonymous NFS mount users.
Make sure that no shell is associated with it.

I suggest that you reain the entry and nobody is expected to be -2 and nobody else.

Regards, Clay
If it ain't broke, I can fix that.
Vincenzo Restuccia
Honored Contributor

Re: your nobody til somebody loves you

If you are logged in as root to the NFS client, and your client is not allowed root access to the exported directory, check the passwd database on the NFS server to determine whether it contains an entry for user nobody. Without root access, the root user on an NFS client is given the access permissions of user nobody. Also, check whether anonymous users are denied access to the directory (with the anon=65535 export option).
CHRIS ANORUO
Honored Contributor

Re: your nobody til somebody loves you

Hi Peter,

In /etc/passwd the uid of nobody is -2 this is assigned to anonymous NFS mount users.
Do allow any shell at the end of the line.
You can see now that some people love you, so assign points and listen more to Eric Clapton.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
CHRIS ANORUO
Honored Contributor

Re: your nobody til somebody loves you

Hi Peter,

In /etc/passwd the uid of nobody is -2 this is assigned to anonymous NFS mount users.
Do not allow any shell at the end of the line in /etc/passwd file.
You can see now that some people love you, so assign points and listen more to Eric Clapton.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.