Syntax for useradd commad
Answers were Sorted based on User's Feedback
Answer / sbrahman75
# useradd –u 101 –g other –d /export/home/ragu –m –s
/bin/ksh –c “revenue” ragu
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prakash.m
useradd -u uid -g gid -d /export/home/user folder name -m -
s /bin/type of shell -c "comment" username
| Is This Answer Correct ? | 1 Yes | 0 No |
useradd -u uid -g Primary.gig -G secondary.gid -d
/export/home/user folder name -m -s /bin/type of shell -c
"comment" username
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mohammed mukram
useradd -m -d /export/home/username username
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the Patch Management Issues you have faced and how did you resolve them?
I have a TCP error how can fix this error?
How to change the default new user shell without mentioning -s /bin/sh in cmd useradd or usermod and which file we need to change? this is not for existing user
Explain shrinking the disk
command to display default boot device
Disaster recovery steps if OS corrupted
How far VCS supports?
what are the two conditions need to be taken before encapsulating the disk under the VxVm control(Veritas volume manager)
How to add a root dg?
how to add an user without using "useradd" command in solaris10?
what is cluster.
Which file will take place while booting