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 |
What can be done to protect the system from overflow exploits?
How do you remove a swap space?
What are nis daemons?
how to clear inode usage?
how to set default runlevel in solaris.How to set the default Runlevel as INIT-2.
In solaris RAID half of replicas fails Suppose out of 6 replica 4 got failed -> what will be the impact if system will not come up & if system will not come up how to fix this issue.
how to create zoneusers
How can threads be created in a solaris environment? Write an example
Process between Kernel and Shell when a command is executed?
How to add gateway in solaris ?
How to add route (gateway) to n/w interface?
How to view shared memory statistics?