How to change the default values ( home dir, shell, role,
min, max, expire) get by user ?
Answers were Sorted based on User's Feedback
Answer / deepak kumar
/etc/default/useradd and /etc/default/login
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
How many run levels are there and what are they?
How to use disk quotas in solaris (command mode) ? what is the procedure for how to allocate particular space to particular user
How to reset root password if root password is gone?
How to create diskgroup in veritas?
Explain the vmstat output?
Root mirroring in SVM, in Veritas ?
4 Answers HP, IBM, Satyam, Wipro,
how to set default runlevel in solaris.How to set the default Runlevel as INIT-2.
Benefits of SMF compared LRC(legacy run control)?
0 Answers Satyam, TEKsystems, Wipro,
how to check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed ndd -get /dev/hme0 link-mode
Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?
Solaris booting process?
What is the importance of shadow file?