RCS file: RCS/mkapachepw.py,v Working file: mkapachepw.py head: 1.121 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 22; selected revisions: 22 description: Part Of The 'mkapachepw' Project ---------------------------- revision 1.121 date: 2005/04/12 07:10:35; author: root; state: Exp; lines: +17 -5 Added ability to name output files on command line and use stdout in this context. ---------------------------- revision 1.120 date: 2005/04/11 22:11:24; author: root; state: Exp; lines: +4 -4 Changed default user output filename to '.htusers'. ---------------------------- revision 1.119 date: 2005/04/06 07:59:11; author: toor; state: Exp; lines: +3 -2 Another minor help screen formatting change. ---------------------------- revision 1.118 date: 2005/04/06 07:57:48; author: toor; state: Exp; lines: +2 -2 Minor help screen formatting change. ---------------------------- revision 1.117 date: 2005/04/06 07:52:05; author: toor; state: Exp; lines: +77 -20 Added -c option to strictly prevent collisions. Added -q option to suppress warning message output. ---------------------------- revision 1.116 date: 2005/04/06 06:31:42; author: toor; state: Exp; lines: +45 -41 Added -s command line flag to suppress processing of system groups/users. ---------------------------- revision 1.115 date: 2005/04/06 06:18:21; author: toor; state: Exp; lines: +18 -10 Destring the error messages from the code. ---------------------------- revision 1.114 date: 2005/04/06 05:59:54; author: root; state: Exp; lines: +23 -6 Enumerated in/excludes now also apply to entries in include files. ---------------------------- revision 1.113 date: 2005/04/05 23:08:30; author: root; state: Exp; lines: +4 -3 Changed fake GID/UID used when including external file entries to 100000. Created the BOGUSID variable to hold this value explicitly to make it easy for the user to change it. ---------------------------- revision 1.112 date: 2005/04/05 21:56:30; author: root; state: Exp; lines: +14 -3 Added explicit try/except handling around opening of output files. ---------------------------- revision 1.111 date: 2005/04/05 21:44:36; author: root; state: Exp; lines: +49 -9 Added logic to support including external password and group files. ---------------------------- revision 1.110 date: 2005/04/05 20:43:44; author: root; state: Exp; lines: +12 -9 Added logic to trap for invalid (non-integer) values for -g and -u arguments. ---------------------------- revision 1.109 date: 2005/04/05 20:26:32; author: root; state: Exp; lines: +7 -1 Added code to error out if any command line arguments remain after processing options. ---------------------------- revision 1.108 date: 2005/04/04 22:23:24; author: root; state: Exp; lines: +40 -36 Reordered parsing of in/exclusion arguments to be keyed to name rather than ID. Corrected command line argument to set starting UID to use -u rather than -p. Copy of command line used to generate file is now included as comment. Added logic to default to suppressing user accounts that do not permit login. ---------------------------- revision 1.107 date: 2005/04/04 21:41:37; author: root; state: Exp; lines: +54 -34 Completed a possible implementation for command line ex/inclusion. ---------------------------- revision 1.106 date: 2005/04/02 09:03:53; author: root; state: Exp; lines: +99 -51 Installed command line support and some of the logic for explicitly listing included- and excluded users or groups. ---------------------------- revision 1.105 date: 2005/04/02 00:26:03; author: root; state: Exp; lines: +5 -5 Changed default filenames to start with '.ht'. ---------------------------- revision 1.104 date: 2005/04/01 22:30:33; author: root; state: Exp; lines: +5 -3 Added hostname to timestamp in each output file. ---------------------------- revision 1.103 date: 2005/04/01 22:21:35; author: root; state: Exp; lines: +50 -33 Added code to produce output files, observing STARTGID and STARTUID. Added command line options to set STARTGID and STARTUID. ---------------------------- revision 1.102 date: 2005/04/01 18:17:55; author: root; state: Exp; lines: +2 -2 Changed how debug output is formatted. ---------------------------- revision 1.101 date: 2005/04/01 06:08:38; author: root; state: Exp; lines: +76 -14 Initial cut of basic group and user database extraction logic. ---------------------------- revision 1.100 date: 2005/03/31 23:12:16; author: tundra; state: Exp; Initial Version ---------------------------- =============================================================================