Operating System - HP-UX
1826086 Members
3293 Online
109690 Solutions
New Discussion

Re: change comment field of NIS users

 
Prysak
New Member

change comment field of NIS users

I have a task to change the comment field of NIS users. whats is the way to do it, I am using master nis password file /etc/passwd.ois containing 500+ users
Whether it requires downtime or not?

System is HPUX 11
1 REPLY 1
Peter Nikitka
Honored Contributor

Re: change comment field of NIS users

Hi Prysak,

the program chfn is the standard way to change the GECOS information - I assume you mean this field of then passwd information.

chfn -r nis
is supported - look at
http://docs.hp.com/en/B2355-90689/chfn.1.html

If your yppasswd daemon is not configured to ignore change requests from chfn, every change will be propagated seperatly.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"