learner
16th September 2008, 19:31
Hi,

We have a employee with the name "Reeta Dhuri" whose sirname got changed after marriage i.e. "Reeta Shrivastva", now i would like to change her sirname in Unix against her unix id "d747442", how do i do it ?

this is my hp unix version : HP-UX PROD B.11.11 U 9000/800

Regards

Learner

NPRao
16th September 2008, 20:28
Assuming you have local password authentication and not in NIS setup.

1. you can manually edit /etc/passwd file and change the user name.

2. Use the command usermod. Refer to the manual for the option:
-c comment Specifies the comment field present in the /etc/passwd entry of this login. This can be any text string. A short description of the new login is suggested for this field.

Disclaimer: If you are not a Unix Admin or savvy, be careful not to mess up anything.

learner
16th September 2008, 21:49
Hi,

Thanks for the info, will give a try.

Regards

Neeraj