From command line how will you add a user account?

Answers were Sorted based on User's Feedback



From command line how will you add a user account?..

Answer / srinivas kalvacherla

#useradd -u userid
-d user home dir
-g primary group
-G secondary groups
-c coment
-s shell
-e expiry date
-m usera/c
-p project name
-R role
Regards
kalvacherla.srinivas@gmail.com

Is This Answer Correct ?    3 Yes 0 No

From command line how will you add a user account?..

Answer / rajan.v.r

$adduser <username>
$passwd <username>
then it will ask passward.....

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Unix AllOther Interview Questions

How to remove weird filenames?

1 Answers  


How to connect oracle database from unix

6 Answers   Cap Gemini, IBM, Wirecard,


what happens when we create a file system?

1 Answers  


fork()?

2 Answers   TCS,


How do you log in to a remote Unix box?

2 Answers  






What is the difference between a soft link and a hard link?

1 Answers  


How do you create special files like named pipes and device files?

1 Answers   Wipro,


What is a pipe?

18 Answers   Fichtner,


How many VI editor modes do you know?

8 Answers   Infosys,


Have you used VI editor?

1 Answers   BMC,


What is egrep?

2 Answers  


How do I log into a remote Unix machine(as a root/normal user)?Please specify with command user and argument.

3 Answers  


Categories