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 login to a remote host with solaris secure shell?

0 Answers  


How do you view shared memory statistics?

3 Answers   IBM,


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.

2 Answers  


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

0 Answers  


what is coredump & crashdump.what's the difference between these two.

2 Answers   Abasca Resources, Ashtech, Cognizant, HP,






Tell me how to set the path for core file?

0 Answers  


Explain how to view shared memory statistics?

0 Answers  


How many run levels are there and what are they?

0 Answers  


What are the kinds of servers do u have? What is environment? Is it heterogeneous (mix of linux, solaris, other UNIX)?

1 Answers   Satyam, Wipro,


How can searches be refined?

0 Answers  


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

6 Answers   Satyam, Wipro,


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

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