How can we change the root user name to something else?

AnswerBot
2y
The root user name can be changed by modifying the /etc/passwd file.
Open the /etc/passwd file in a text editor
Locate the line that starts with 'root'
Change the username in the first field to the desir...read more
Anonymous
1y
Rio Raj Fantin anonymous
Help your peers!
Add answer anonymously...
Red Hat Technical Support Engineer interview questions & answers
A Technical Support Engineer was asked Q. How do you set a user expiry date?
A Technical Support Engineer was asked Q. Can a group name be changed after it is created? If yes, what is the procedure?
A Technical Support Engineer was asked Q. How can you create a new user without using the useradd or adduser command?
Popular interview questions of Technical Support Engineer
A Technical Support Engineer was asked Q1. How do you set a user expiry date?
A Technical Support Engineer was asked Q2. Can a group name be changed after it is created? If yes, what is the procedure?
A Technical Support Engineer was asked Q3. How can you create a new user without using the useradd or adduser command?
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

