user management questions

Blackburn, Marvin Marvin.Blackburn at glenraven.com
Thu Nov 18 22:08:54 UTC 2004


Thanks! 

> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Schott, 
> Erik J Mr ANOSC/FCBS
> Sent: Thursday, November 18, 2004 5:06 PM
> To: General Red Hat Linux discussion list
> Subject: RE: user management questions
> 
> Hi Marvin.  Yes, you COULD directly edit /etc/passwd, but 
> that is far from
> the recommended means to change the user's primary group.  
> Use, instead,
> usermod -g <gid> <username>.  These changes are not propagated to
> /etc/shadow and /etc/gshadow, but propagated to /etc/passwd 
> by the inner
> workings of the useradd binary.
> 
> HTH.
> 
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com]On Behalf Of Blackburn, Marvin
> Sent: Thursday, November 18, 2004 2:57 PM
> To: redhat-list at redhat.com
> Subject: user management questions
> 
> 
> I am new to the shadow password file processing and Have a question.
> How do I properly change a users primary group.
> 
> Can I just enter it into the /etc/passwd file?
> How do the changes get propogated to /etc/shadow and /etc/gshadow?
> 
> Any help would be appreciated.
> I am running redhat as 2.1
> 
> ------------------
> Marvin Blackburn
> Systems Administrator
> Glen Raven
> "He's no failure.  He's not dead yet" --William Lloyd George  
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 




More information about the redhat-list mailing list