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 discover Global zone name from local Zone?

4 Answers  


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

1 Answers  


how to set default runlevel in solaris.How to set the default Runlevel as INIT-2.

5 Answers   Microland,


Hi friends this is rakesh recently i went to an interview there they asked me what is the port number using to connect telnet from one system to another system and what deamon is used to connect telnet.

6 Answers  


What are the ways in which replication agreements between directory structures be arranged?

0 Answers  






Explain the run levels that are used in solaris10?

0 Answers  


how to know kernel architecture of solaris ? isainfo -v ? or prtconf -v

4 Answers   Satyam, Wipro,


how many zones can be installed in server which has 4 processors?

1 Answers   Oracle,


How to check OBP version?

6 Answers   Satyam, Wipro,


Diffrence between Paging & swap?

4 Answers   Satyam, Wipro,


How to check version of NFS?

6 Answers   Satyam, Wipro,


How do you connect to remote machines? I said using secure crt using ssh.

1 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)