There are already existing scripts (provided with Solaris) to add user accounts and groups. Please see the man pages for:
useradd
usermod
userdel
groupadd
groupmod
groupdel
useradd does not set a password by default. The account is created with a null/empty password.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.