Month: April 2011

  • SnipIT No 2: Lock/Unlock User Account in Solaris

    SnipIT is a series of short blogs containing useful information in an easily digestible format. When logged in as root you can lock and unlock a user account with the passwd command. Lock an Account passwd -l Unlock an Account passwd -u Confirmation of either change is then shown: passwd: password information changed for

  • SnipIT No 1: Checking Permissions in Solaris

    SnipIT is a series of short blogs containing useful information in an easily digestible format. First up; How to check permissions of files and folders in Solaris. This may seem obvious to some but to new-comers it should prove useful. File Permissions ls -al The a option lists all the files in the directory, including…

  • Basic User Administration in Solaris

    Here are some pointers on performing basic user administration in Solaris, e.g. adding and removing/deleting a user. The commands useradd, usermod and userdel are available from /usr/sbin when logged in as a user with root privileges. To Add a User useradd -u 1001 -d /export/home/timb -m -s /bin/bash -c “Tim Bow” -g 100 timb -u…