20 Oct 2014 Configure Users Ducky # change umask in skeleton profile to default to group writable touch test vi /etc/profile add: umask 002 ssh localhost # login with new environment touch test2 ls -l test* -rw-r--r-- 1 toby toby 0 Oct 20 12:29 test -rw-rw-r-- 1 toby toby 0 Oct 20 12:30 test2 # configure groups vi /etc/group change toby:x:1000: to figment:x:1000: change staff:x:50: to staff:x:50:toby ### Standard figment users # useradd options: # -m create and populate the user's home directory # -g default group # -s login shell # -c comment - Full user name # -u numeric value for hardcoded UID /usr/sbin/useradd -m -s /bin/bash -g figment -c "Joyce Martin" joyce /usr/sbin/useradd -m -s /bin/bash -g figment -c "Bryan Whitlow" bryan vi /etc/group # add users to groups adm:x:4:pi,toby,joyce,bryan staff:x:50:toby,joyce,bryan visudo # /etc/sudoers add joyce add bryan ###############################