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 configuration files and to configure it in VCS
Explain RAID0, RAID1, RAID3,
how to find out the how many disks attached in the server?
How to findout MAC addess as well as IP address of the host?
If NIC card is failed how can troubleshoot it?
What are the NFS daemon in server & client
Explain /etc/system file
I have a "telnet" error then what you will do?
How to find out the shared file system from server and client
how to recover a server/system backup?
How to grow disk size in SDS
Hi I wanted to know what command can I use to perform a rescan in Solaris10 u4/u5 64 bit machine. I know once the disks are added we can perform a rescan using the following commands drvconfig-->disks--> cfgadm OR devfsadm But they will detect the disks and once the disks are remove the entries are still shown unless the disks are removed. So is there another command or a script that could help me find that disks were removed from my solaris machine.