Change root name in ubuntu
12,059
just two steps:
1.edit the /etc/passwd file ,replace
priyank
toAlex
,then save2.edit the /etc/shadow file ,replace
priyank
toAlex
,then save
reboot and enjoy it
Related videos on Youtube
Author by
jalaj sharma
Updated on September 18, 2022Comments
-
jalaj sharma over 1 year
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?
-
KGIII over 8 yearsThis is a duplicate, the system should automatically include that in a reply. It's a little complicated but not too bad. Follow the example in the highest rated answer and if you have trouble with that then ask a specific question and we'll help you out from there.
-