Operating System - HP-UX
1833694 Members
3665 Online
110062 Solutions
New Discussion

Re: useradd is not adding userid to /etc/group

 
SOLVED
Go to solution
Chris Harris
Contributor

useradd is not adding userid to /etc/group

is this standard on HP 11.* that 'useradd' doesn't add the userid to its primary group?
2 REPLIES 2
Sanjay_6
Honored Contributor
Solution

Re: useradd is not adding userid to /etc/group

Hi Chris,

this is a standard functionality. Take a look at this thread,

http://us-support.external.hp.com/cki/bin/doc.pl/sid=da67a232028b43d774/screen=ckiDisplayDocument?docId=200000051006248

Hope this helps.

Regds
Jeff Machols
Esteemed Contributor

Re: useradd is not adding userid to /etc/group

Chris,

it does not, it stores the primary group as the 4th field in /etc/passwd. The only thing that goes into /etc/group is secondary groups