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 do you delete tmp files if file system is full becoz of /tmp dir ?
Explain crashdumps & core files?
How can a user increase the number of pseudo-ttys?
How many run levels are there and what are they?
How to bring New LUN under veritas , create f/s on it ?
Explain how to view shared memory statistics?
How do you break the root password?
can we able to connect to OK prompt and serial port by using the putty and xmanager tools. if yes please describe me. thanks
What is the importance of shadow file?
Importing & deporting diskgroup?
Explain the difference between svm and vxvm?
How can a user login to solaris? What is the login shell?