Sun Solaris
System Administration |
Network |
Links |
To add a user:
useradd -d /some/directory/username -s /bin/ksh username
passwd username
mkdir /some/directory/username
chmod 755 /some/directory/username
chown username /some/directory/username
There is a script called /usr/local/bin/useradd.sh which will basically execute the above commands. Usage is:
/usr/local/bin/useradd.sh username