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


Please Help Members By Posting Answers For Below Questions

How do you remove a swap space?

636


Explain the difference between svm and vxvm?

621


What is the login shell?

716


What causes the rpc.ttdbserverd process to be cpu bound?

635


How do you copy files from remote system using ftp?

625






How can a user access a dos-format disk in solaris?

623


What are nis daemons?

660


how to add your own run control script in server?

639


What are nfs daemons?

674


How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?

672


How can a user boot in solaris as root if the password is non functional?

646


What are the ways in which replication agreements between directory structures be arranged?

680


How can a user login to solaris? What is the login shell?

643


What can be done to protect the system from overflow exploits?

654


Explain the difference between sc> and lom>?

620