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
What are nfs daemons?
What kind of issues you get?
Tell me how many types of file system?
Tell me how to solve the system hung issue. Found that the memory state is free, commands to check and solve the issue?
What can be a reason for the solaris system slowing down?
Explain what is multi homed system?
How can a user increase the number of pseudo-ttys?
Tell me how to discover global zone name from local zone?
How many run levels are there and what are they?
Explain how to view shared memory statistics?
What is difference between swap -l & swap -s?
Explain the types of installations in solaris
How do you copy files from remote system using ftp?
What do you understand by mail aliases?
What is the login shell?