1825782 Members
2150 Online
109687 Solutions
New Discussion

User Creation on HP-UX

 
ashwin
Occasional Contributor

User Creation on HP-UX

Hello to members,
I have created one user with SAM,
User is successfully created but when I am login to that user and tooks the output of
"id" it is as follows,
$ id
uid=102( ) gid=20 (users)
It gives uid no. but doesn't show the user name in bracket. Have any idea about it. Please help.



thanks in advance.


5 REPLIES 5
Laurent Paumier
Trusted Contributor

Re: User Creation on HP-UX

Is /etc/passwd world readable (should be rw-r--r--) ?
A. Clay Stephenson
Acclaimed Contributor

Re: User Creation on HP-UX

Hi,

If this is an 11.x box then one other thing can cause this: pwgrd. If /var/tmp or /tmp is full you will see this behavior; you might also try stopping/starting pwgrd.

as root
cd /sbin/init.d
./pwgr stop
./pwgr start

Clay
If it ain't broke, I can fix that.
ashwin
Occasional Contributor

Re: User Creation on HP-UX

Hi Laurent, A. Clay Stephenson
I have checked the permission of passwd file
and found rw-r--r--.

As suggested by A. Clay Stephenson I have tried but still " $ id" doesn't shows username
after uid no.


thanks.
Laurent Paumier
Trusted Contributor

Re: User Creation on HP-UX

What does "grep :102: /etc/passwd" give ?
Vincenzo Restuccia
Honored Contributor

Re: User Creation on HP-UX

Change the uid of user.