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

Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?

0 Answers  


Ip classes, OSI layers,its significance, ?

1 Answers   Satyam, Wipro,


Tell me how to set the path for core file?

0 Answers  


format command is not working. It is showing all disks, but not going to further step. How to resolve that?

2 Answers   IBM,


how to add your own run control script in server?

0 Answers  






how would we know a file system exists on a slice when it is unmounted from its mount point. please anyone help me out.

6 Answers  


how to clear inode usage?

1 Answers  


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

0 Answers  


how to recover the boot block in soalris 9,i am able to get CDE desktop login.

5 Answers  


How can a user login to solaris?

0 Answers  


Explain the difference between svm and vxvm?

0 Answers  


Explain crashdumps & core files?

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