how we can create user in solaris?
Answers were Sorted based on User's Feedback
Answer / harish
we can use the command "useradd <username> to create new user.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / manojkb
useradd -d /<home dir>/<username> -m <username>
ex: useradd -d /export/home/manoj -m manoj
other full commannd
useradd -u <uid> -g <gid> -d/<homedir> -m -s /bin/<<shell>>
<user name>
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / reddy
/usr/sbin/useradd -u uid -g gid -d /export/home/user -
s /sbin/sh -m user
| Is This Answer Correct ? | 10 Yes | 7 No |
Answer / veeresh sajjan
useradd -u [idno] -g [group id] -c [comment] -d
/export/home/user -m -s /sbin/sh user
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / s ramesh reddy
#useradd -u <uid> -g <gid> -d /expot/home/<username> -s /bin/sh -m <username>
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ghanshyam baboo
useradd -md /export/home/<username> -u <uid> -g <gid> -s
<SHELL PATH> <username>
E.g.-
useradd -md /export/home/user1 -u 110 -g 115 -s /bin/bash user1
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the function of truss in solaris?
How to check the communication between 2 nodes?
what is 2 in uadmin 2 0 command in solaris
please post few interview questions ? or any url related to solaris
What is nslookup
What are the daemons will run when the system is booting?
How to rename the old root disk. In this example, rootdisk is being renamed as rootold.
How to remove the root mirror
If a User Account is locked,which file you need to check and how do you get to know at what time it has been locked.
How will you comment error line in /etc/system file
How to Freeze svcgroup, (disable onl. & offl.)
How ill you remove the subdisk and plexus