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 are devices represented in UNIX?

2 Answers  


How to give root privileges without using SU/sudor ?

1 Answers  


Explain the read, write, and execute permissions on a UNIX directory.

1 Answers  


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

1 Answers  


What UNIX command will control the default file permissions when files are created?

3 Answers  






what is output mkvg pvname

0 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 do you execute a UNIX command in the background?

2 Answers  


What is Fork swap?

1 Answers   Infosys, SSI Small Scale Industries,


How do you use Unix for Backend Testing ?

1 Answers   Wipro,


Which is the most commonly used replacement algorithm?

0 Answers   Aditi Placement Service,


Is this the command to connect oracle from unix? sqlplus -s username/password. Then what is the -S here...????

1 Answers   TCS,


Categories