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

Explain iostat, vmstat and netstat.

2 Answers  


What is the difference between hard link & softlink?

2 Answers  


how can we create the script in crontab at mid night on sunday,satuarday,fiday 0n monyh october,november,january? please give me answer if anybody knows ? because on important purpose.

2 Answers  


How to set Windows as Default OS when Dual Booting Ubuntu?

1 Answers  


how to raise a suncase?pls explain step by step?

0 Answers   CGI,






What are each of the standard files and what are they normally associated with?

1 Answers   ITCO,


What is the difference between windows environment and Unix environment ?

8 Answers   Oracle,


What are different types of shells?

7 Answers   BMC,


Name key files or directories on a Windows system that should always be backed up?

2 Answers  


What is a filesystem?

3 Answers  


What is a Map?

0 Answers  


How to recover a system whose root password has lost?

5 Answers   SoftNet,


Categories