ChangesLog v0.7 : ! fixed shadow-generation bug when adding users + added md5-support (s. config) NOTE: because perl lacks md5-support i had to write a simple c-program called 'mkmd5pw' which takes the password as argument and returns the md5-hash. Source is included - compile it with cc -lcrypt -o mkmd5pw mkmd5pw.c v0.6 : ! fixed security hole (/etc-files created 0666) now you can define the permissions (see config) ! fixed chown-bug which prevented users from joining their own home-directory + added option -T - returns all usernames which password will expire soon (the warning-time given in /etc/shadow) useful on systems without login-access for users + made tmp-dir configurable. ! did some code optimizations (code size below 30000 Bytes now!) v0.5 : + added option -K - needs encrypted password as parameter the password will be written to /etc/shadow 'as is'. + -F works with -G now. Shows gid, users from /etc/group and if the password is set, disabled or not set. + added option -B - needs a filename as parameter which has a username/password pair in each line. Will add all users/groups with the given passwords in the given file. + -E will work with -A now ! modified chown-call - some systems don't like it to work with username.gid as parameter so it's now username:groupname - slows things down, but is more portable + added option -L - list all users ls-like. (with -G list all groups) ! removed as many system-calls as possible to make things faster ! fixed silly permissions-bug v0.4 : + userman -F now shows if a password is set or not or if the account is diabled. + added repairmode for option -C so that userman can now fix most of the found errors - USE WITH CARE! ! updated manpage ! fixed bug in variable-handling ! fixed some typos in program output + modified mkpasswd-routine so that the salt is now generated randomly instead of using the first two chars of the password. v0.31 : ! fixed permissions-bug v0.3 : + userman -C now detects if a group-id is used more than once + added option -b (backup-user) - see man-page for details + added min- and max-gid - see defaults for details (requested by bytewurm@rising-systems.de) ! fixed some typographical errors in the man-page ! updated man-page + added action -F - prints out information about the given user like 'finger' but including groups ! fixed bug in regex (forgot to check for end-of-word) !! option -G moved to -E + wrote an EXAMPLES-File because some users didn't understand my man-page ... (is my english really so bad? :( ) + added option -G - switches between user- and group-handling, so userman is able to add, delete or modify groups now + because userman can handle groups now, it now also handles /etc/gshadow + added option -J which will set a users or groups password to an impossible value in combination with -M or -GM ! fixed bug in user-modify - when you changed a users login and removed him from a/some group(s) especially this was not working. ! fixed some minor bugs (perl -w would run quiet now) + splitted values from 'defaults' to 'config' and 'defaults' you can now configure which files to edit. (s. config) v0.2 : ! did many code-optimizations - -C runs 200% faster now + added 'maxuid' and 'minuid' to the defaults. v0.1 : first official release +-! ? + = added feature - = removed feature ! = fixed bug !! = important note