| How to change the userid or Login name in Linux |
|
|
|
| Written by Administrator |
| Thursday, 28 February 2008 05:40 |
|
Q. How do I change the userid or Login name in Linux? A. Use usermod command which modifies the system account files to reflect the changes that are specified on the command line. You need to pass -l option as follows to usermod command: Where,
An exampleFor example, change the userid vivek to new id called sradmin. You need to type the following command: # usermod -l sradmin vivek Source: http://www.cyberciti.biz/
|
| Last Updated ( Thursday, 28 February 2008 07:57 ) |
![]() |
|