Software >> OS >> Unix >> Solaris >> 11 >> How to determine what are the default values used during user account creation by useradd and how to customise it

# useradd -D

shows the default values for group, base_dir, skel_dir etc.

to customise create/edit /usr/sadm/defadduser

 

can use following parameters

defgroup=104
defgname=solaris
defparent=/export/home
defskel=/etc/skel
defshell=
definact=0
defexpire=
defauthorization=
defrole=
defprofile=
defproj=3
defprojname=default
deflimitpriv=
defdefaultpriv=
deflock_after_retries=