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 can we find memory leak in Soalris ?

1 Answers   Sun Microsystems,


DIfferent between swap -l & swap -s

1 Answers  


How to set the path for core file?

2 Answers   HCL,


how to solve the system hung issue. found that the memory state is free... commands to check and solve the issue

1 Answers  


Tell me how to discover global zone name from local zone?

0 Answers  






How to check whether top command is installed ?

5 Answers   Satyam, Wipro,


Troubleshooting SMF?

3 Answers   Satyam, Wipro,


How does a solaris cluster work?

0 Answers  


Solaris booting process?

2 Answers   Satyam, Wipro,


How can the output be redirected to some other action process in place showing it in the screen?

0 Answers  


what is the importance of swap memory and how it will supports?

0 Answers  


What causes the rpc.ttdbserverd process to be cpu bound?

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)