ADDING: Simply add a user with all defaults userman -A user Add a user with password 'foobar' userman -A user -p foobar Add a user with password 'foobar', home '/tmp', shell '/bin/false' and realname 'foo bar' userman -A user -p foobar -H /tmp -s /bin/false -R "foo bar" DELETING: delete a user userman -D user delete a user and remove his home and his mail-spool userman -D user -r or userman -rD user MODIFYING: change a users password to 'foobar' (same as 'passwd user' would do) userman -M user -p foobar change a users home to '/tmp' but leave the old home untouched userman -M user -H /tmp change a users home to '/tmp' and move the old home to the new one userman -M user -H /tmp -r or userman -M user -rH /tmp userman -M can also build a complete new user, using an old one ;-) change a users name to 'dummy', move his home to '/home/dummy', set his password to 'dummyuser' and change his realname to 'dummy user' userman -M user -U dummy -rH /home/dummy -p dummyuser -R "dummy user" remove a user from the groups 'bin' and 'root' and put him into 'games'. userman -M user -E games -e bin,root GROUPHANDLING: add a group to the system userman -GA group add a group with password 'foobar' userman -GA group -p foobar delete a group userman -GD group change the group-password to 'foobar' userman -GM group -p foobar add user 'dummy' to a group userman -GM group -E dummy delete users 'dummy' and 'dau' from a group userman -GM group -e dummy,dau change a groups name to 'foobar', remove user 'dummy', add users 'dau' and 'foo' and disable the group-password. userman -GM group -U foobar -e dummy -E dau,foo -J CHECKING: check the systemfiles for common errors userman -C check the systemfiles for common errors and repair them userman -C -r OR userman -rC USING THE BATCH-MODE: galileo:~# cat > foo user1 password1 user2 password2 user3 password3 galileo:~# userman -B foo galileo:~# grep "^user" /etc/passwd user1:x:500:100:user1:/home/user1:/bin/false user2:x:501:100:user2:/home/user2:/bin/false user3:x:502:100:user3:/home/user3:/bin/false galileo:~# same for groups but with -G given (e.g. 'userman -GB foo') CHECKING WHO HAS TO CHANGE HIS/HER PASSWORD janeway:~# userman -T pennywise 6 janeway:~# Output is username and days until password expires - seperated by a space.