how're you doing? I am somewhat new to ubuntu and finding problem changing the root user name. My terminal displays priyank@Alex right now. I changed the second name to Alex using hostname and hosts. What I want is to make it Alex@Alex. Can anyone temme how can I do it?
Asked
Active
Viewed 1.6k times
2 Answers
1
Use usermod command ideally - -l is the option you're after in this particular case. If you want also your home dir renamed accordingly - options -d and -m may be of your interest.
Jacek
- 1,921
- 12
- 10