Loginmgr ToolSet up or update tools server login and password |
|
Version: 0.18
Author: |
- NAME
- loginmgr - Generate or validate a one-time login authentication token.
- SYNOPSIS
loginmgr -c -r REALM -u USER [-v]
loginmgr -a AUTH -r REALM -u USER -d DATE [OPTIONS]
loginmgr -i FILE [OPTIONS]
- DESCRIPTION
To generate an authentication token, the --create switch must be given and the --user switch must also be present. An authentication token containing user, date and authentication hash will be generated.
To validate an authentication token, the --auth switch must be given, and the --date and --user switches must be present; or the --input switch must be given and the file must contain a line formatted as the output from this program with the --create switch. If the --passwd switch is also present, and the authentication hash is correct for the given user and date, and the date isn't too old, the password will be read from stdin and set as the new password for the user.
- OPTIONS
-a, --auth=AUTH The authentication hash -A, --age=AGE How old an auth token may be at most -c, --create Create an URL fragment with auth. hash -d, --date=DATE The date of an auth. hash to be verified -f, --file=DIGEST Specify DIGEST file to be updated -h, --help Show this help, then exit -p, --passwd Set password from stdin -r, --realm=REALM The realm of user and password -u, --user=USER The user name -v, --verbose Be more talkative -V, --version Show program version, then exit - FILES
- /var/local/loginmgr/key
- Holds the key used to generate the authentication hash
- /var/local/loginmgr/lock
- Lock for access to state and password files
- /var/local/loginmgr/digest
- Password file maintained by this program
- /var/local/loginmgr/tokens
- Outstanding auth tokens generated
- /var/local/loginmgr/conf
- Configuration file with additional command line switches
- AUTHOR
- Written by Henrik Levkowetz, <henrik@levkowetz.com>
- COPYRIGHT
Copyright 2006 Henrik Levkowetz.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. There is NO WARRANTY; not even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.