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
Tell me how to discover global zone name from local zone?
Benefits of SMF compared LRC(legacy run control)?
How can a user login to solaris? What is the login shell?
Tell me how to mount the floppy & cd-rom?
List out a few performance monitoring tools.
How does a solaris cluster work?
Tell me how to set the path for core file?
How many run levels are there and what are they?
Explain the difference between pid and ppid with example.
how to add your own run control script in server?
What causes the rpc.ttdbserverd process to be cpu bound? How can it be rectified?
Discuss the two modes of the vi editor in solaris.
What can be a reason for the solaris system slowing down?
Tell me how to solve the system hung issue. Found that the memory state is free, commands to check and solve the issue?
How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?