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

In solaris 10 root Disk is 98% full what steps to be taken?

1673


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

572


Tell me how to discover global zone name from local zone?

534


How do you copy files from remote system using ftp?

544


How do you break the root password?

589






How can searches be refined?

567


What kind of issues you get?

1655


Explain the difference between svm and vxvm?

543


How can a user increase the number of pseudo-ttys?

583


Tell me how many types of file system?

662


how to add Kernel patch in all systems at a time?

2627


How does a solaris cluster work?

557


How can the output be redirected to some other action process in place showing it in the screen?

573


Explain how to view shared memory statistics?

541


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

584