Commit 43da6bf1 authored by Per Cederqvist's avatar Per Cederqvist

dbck uses GNU getopt, and can reset passwords and grant privileges.

parent 49474a99
Mon Feb 19 20:22:00 1996 Per Cederqvist (ceder@lysator.liu.se)
* doc/man/dbck.8: Updated with long option names and the new
options --clear-password and --grant-all.
* configure.in: Check for alloca.h (since GNU getopt wants it).
Wed Nov 8 19:59:52 1995 Per Cederqvist (ceder@lysator.liu.se)
* Release 1.8.0.
......
Sun Feb 25 21:37:09 1996 Per Cederqvist (ceder@lysator.liu.se)
* Makefile.src (GETOPT): New variable.
(DBCK): Needs getopt.
Mon Feb 19 20:53:33 1996 Per Cederqvist (ceder@lysator.liu.se)
* Use GNU getopt in dbck.
* dbck.c (longopts): New variable.
(main): Rewrote the option-parsing loop to use GNU getopt.
* Help in dbck.
* dbck.c (give_help): New function.
(main): Call it if -h (or --help) is given.
* Reset passwords in dbck.
* dbck.c (reset_pwd): New variable.
(main): Set it if -P (or --clear-password) is given.
(check_persons): Reset the password if the person number equals
reset_pwd.
* Grant permission in dbck.
* dbck.c (grant_all): New variable.
(main): Set it if -G (or --grant-all) is given.
(check_persons): Give the person all privileges if the person
number equals grant_all.
* getopt.h, getopt.c, getopt1.c: New files taken, from GNU hello 1.3.
Fri Feb 23 12:41:46 1996 David Byers <byers@lysator.liu.se>
* dbck.c, simple-cache.c: Added support for remove records. THIS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment