Operating System - HP-UX
1833871 Members
1773 Online
110063 Solutions
New Discussion

Re: Rename of user on trusted system?

 
herman anker
Occasional Contributor

Rename of user on trusted system?

How do I rename a user on a trusted system? When you have 35 users to rename, i'd rather not delete and recreate them.

Any info is appriciated.
3 REPLIES 3
herman anker
Occasional Contributor

Re: Rename of user on trusted system?

duuuuhhhh....
I found it:
usermod -l
A. Clay Stephenson
Acclaimed Contributor

Re: Rename of user on trusted system?

Usermod will do it. You probably also want to rename the user's home directory in your script and thus pass in the new directory as the -d arg.

Man usermod for details.

Clay
If it ain't broke, I can fix that.
Eugen Cocalea
Respected Contributor

Re: Rename of user on trusted system?

Hi,

Se how fast the forums are? You asked a questions and found yourself the answer in just 8 minutes (well, including time for posting).

E.
To Live Is To Learn