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 are the differences between the command line and graphical user interface?
how to install a patch in solaris 10( step by step details)?
How to create swap file
How to find the demo?
How to remove a disk group?
What are the daemons in VERITAS?
How will you take ufsdump and ufsrestore in a sing command line?
If plex is failed then how can you recover it?
How to bring the resource to online and offline
In VERITAS How to recover the mirror disk with data. How to bring the existing data disk into VERITAS volume manger control.
How to review multiple MAC Addess in Solaris?
How to boot the solaris system in 64 0r 32 bit kernel