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
Iam facing an issue like below, any help why this is caused? $ ls -l /etc total 184 -rw-r--r-- 1 root other 3 Nov 28 09:35 abc1 -rw-r--r-- 1 root other 3 Nov 28 09:35 cb -r--r--r-- 1 root root 8358 Nov 28 19:04 ptmp -r-------- 1 root sys 5055 Nov 28 19:04 stmp -r--r----- 1 root root 76828 Nov 28 09:38 sudoers
What are the types of cluster configuration?
If the /var file system is full then what you will do.
Explain FSCK
In Solaris, how to check the number of Users currently logged in ?
one guy asking how to grow disk size in SDS? what is SDS?
How to stop the process in Solaris?
What are the protocols in VCS
I have single NIC card and we have two ports can we configure as IPMP?
You can receive e-mail, but when u try to send e-mail .. u can't send any. What is wrong?
Disaster recovery steps if OS corrupted