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 solve the system hung issue. found that the memory state is free... commands to check and solve the issue

1 Answers  


How many types of file system?

12 Answers   Blue Dart,


In solaris 10 root Disk is 98% full what steps to be taken?

0 Answers   ABC, HCL,


Tell me how to solve the system hung issue. Found that the memory state is free, commands to check and solve the issue?

0 Answers  


difference between ps -ef and prstat

2 Answers   IBM,


How can a user boot in solaris as root if the password is non functional?

0 Answers  


What is the cmd used to print default values get by user? Useradd –D

2 Answers   Satyam, Wipro,


How to upgrade diskgroup? Vxdg upgrade

1 Answers   Satyam, Wipro,


Explain how to kill a process.

0 Answers  


what is multihomed system?

2 Answers   Satyam, Wipro,


How to bring New LUN under veritas , create f/s on it ?

2 Answers   Satyam, Wipro,


What kind of issues you get?

0 Answers   Satyam, Wipro,


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)