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 to solve the system hang issue.
Discuss the two modes of the vi editor in solaris.
How can searches be refined?
Tell me how to mount the floppy & cd-rom?
Explain the difference between pid and ppid with example.
What are the raid levels in solaris?
What can be a reason for the solaris system slowing down?
How can a user login to solaris? What is the login shell?
List out a few performance monitoring tools.
what is the importance of swap memory and how it will supports?
Explain the run levels that are used in solaris10?
Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?
Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?
Explain the difference between swap -l & swap -s?
How can a user boot in solaris as root if the password is non functional?