How create a user in single line commands

AnswerBot
1y

A user can be created in a single line command using the 'useradd' command in Linux.

  • Use the 'useradd' command followed by the username to create a user.

  • Specify additional options like home directory, ...read more

Hari Shanker
1y

adduser < username> . This single line command use to create new user.

Harshal Bandu Mhaske
2y

With root privilege

useradd <username>

with sudo privilege

sudo useradd <username>

Ajay Pawar
2y

sudo useradd -m [username]

Bashir Shaikh
2y

to create newuser useradd command is used

Anonymous
2y

To create any user the syntax should be useradd <username> 

Krishna vamsi Thatikrinda
2y

To create any user the syntax should be  useradd <username>

HARI KRISHNA
2y

useradd <user name>

this the command for create user

 

adusumilli ssharish
3y

the simple format for this commad is "useradd"

Add answer anonymously...
Capgemini Linux System Administrator Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter