Written by J. Moellenkamp
on
Reading time: 1 minute
Operating Systems LKSF English 2blogsoraclecom Solaris
on
Reading time: 1 minute
Operating Systems LKSF English 2blogsoraclecom Solaris
Less known Solaris features: Defaults for useradd
One of the lesser known features of useradd
command is the ability to set defaults for the creation of users, nevertheless is featured prominently on the man page.
When you want to see the currently set defaults, you can do this by appending a -D
to useradd
:
When you want to change the default basedir to /export/home
for example, you can do with this command: