How to change the default values ( home dir, shell, role,
min, max, expire) get by user ?
Answer Posted / raja
useradd -D Display the default values for
group,base_dir,skel_dir, shell, inactive, and expire. When
used with the -g, -b, -f, or -e options, the - D
option sets the default values for the
specified
fields. The default values are:
group other (GID of 1)
base_dir /home
skel_dir /etc/skel
shell /sbin/sh
inactive 0
expire Null (unset).
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you remove a swap space?
Explain the difference between svm and vxvm?
What is the login shell?
What causes the rpc.ttdbserverd process to be cpu bound?
How do you copy files from remote system using ftp?
How can a user access a dos-format disk in solaris?
What are nis daemons?
how to add your own run control script in server?
What are nfs daemons?
How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?
How can a user boot in solaris as root if the password is non functional?
What are the ways in which replication agreements between directory structures be arranged?
How can a user login to solaris? What is the login shell?
What can be done to protect the system from overflow exploits?
Explain the difference between sc> and lom>?