Operating System - HP-UX
1753879 Members
7479 Online
108809 Solutions
New Discussion юеВ

Re: Updating Name field in GECOS

 
Craig Browning
New Member

Updating Name field in GECOS

I have reviewed the man pages for the CHFN command and it appears that there is no way to pass the update data to the command other than just calling the command and being prompted for the data. Is there any other way of mass updating the Name field in the GECOS?
2 REPLIES 2
Craig Browning
New Member

Re: Updating Name field in GECOS

...other than simply editing the information in the /etc/passwd file...
Jeff_Traigle
Honored Contributor

Re: Updating Name field in GECOS

As root:

usermod -c "GECOS info" username
--
Jeff Traigle