How can you create a new user without using the useradd or adduser command?

AnswerBot
2y
To create a new user without useradd or add user command, use the usermod command.
Use the usermod command with the -u option to create a new user
Specify the username and user ID as arguments
Example: u...read more
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

