#!/bin/bash # # Ensure that root is running the script. ## if [ $(id -u) != 0 ]; then echo "You must be root to add news users!" exit 1 fi ############################################################### # System Info # uid=500(frankg) gid=500(frankg) groups=500(frankg),502(p4admin) context=user_u:system_r:unconfined_t # # -rwsrwx--- 1 root p4admin 152 Apr 14 02:45 test2.sh # # ###############################################################