How to change the default values ( home dir, shell, role,
min, max, expire) get by user ?

Answers were Sorted based on User's Feedback



How to change the default values ( home dir, shell, role, min, max, expire) get by user ?..

Answer / deepak kumar

/etc/default/useradd and /etc/default/login

Is This Answer Correct ?    1 Yes 1 No

How to change the default values ( home dir, shell, role, min, max, expire) get by user ?..

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

Post New Answer

More Solaris General Interview Questions

How to add route (gateway) to n/w interface?

2 Answers   Satyam, Wipro,


How can the user in solaris check the status of processes?

0 Answers  


What are nfs daemons?

0 Answers  


User is not able to perform cron jobs. How do u troubleshoot?

6 Answers   Satyam, Wipro,


How can threads be created in a solaris environment?

0 Answers  






what are the run levels that are used in solaris10?

10 Answers   TCS,


What is top cmd?

5 Answers   Satyam, Wipro,


what are the daemons running In NIS? how to do u create NIS users and update Maps?

5 Answers   Satyam, Wipro,


How to check version VXVM? Pkginfo –l | grep VRTS

5 Answers   Satyam, Wipro,


What are nis daemons?

0 Answers  


How to set the path for core file?

2 Answers   HCL,


how to add your own run control script in server?

0 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)