From dad8071af7484847a7a6e7cf8d4ee33b520aa09e Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 29 May 2019 10:31:36 -0400 Subject: fix #6: document -i interactive flag, and general documentation --- laps.spec | 2 +- src/usr/share/doc/laps/changes | 6 +++++- src/usr/share/doc/laps/version.txt | 2 +- src/usr/share/laps/laps.sh | 5 +++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/laps.spec b/laps.spec index fbaec98..9fce9fb 100644 --- a/laps.spec +++ b/laps.spec @@ -1,6 +1,6 @@ %define debug_package %{nil} Name: laps -Version: 0.0.3 +Version: 0.0.4 Release: 1 Summary: local administrator password solution diff --git a/src/usr/share/doc/laps/changes b/src/usr/share/doc/laps/changes index 51a0c15..867a14a 100644 --- a/src/usr/share/doc/laps/changes +++ b/src/usr/share/doc/laps/changes @@ -1,8 +1,12 @@ * Oct 24 2018 B Stack 0.0.2-1 -- fix $2 read action should provide date of expiration on -d 1 +- fix #2 read action should provide date of expiration on -d 1 - fix #3 add readme.md to front directory - fix #4 laps does not recognize expired kerberos tickets * Mar 1 2019 B Stack 0.0.3-1 - fix #5 document the recommended use of "-f" for first run - merge !1 handle empty password change timestamp LDAP attribute + +* May 29 2019 B Stack - 0.0.4-1 +- fix #6 document the -i interactive flag +- fix #7 add LAPS_KINIT_HOST_SCRIPT_OPTS diff --git a/src/usr/share/doc/laps/version.txt b/src/usr/share/doc/laps/version.txt index bcab45a..81340c7 100644 --- a/src/usr/share/doc/laps/version.txt +++ b/src/usr/share/doc/laps/version.txt @@ -1 +1 @@ -0.0.3 +0.0.4 diff --git a/src/usr/share/laps/laps.sh b/src/usr/share/laps/laps.sh index ace99c6..b95ce3e 100755 --- a/src/usr/share/laps/laps.sh +++ b/src/usr/share/laps/laps.sh @@ -12,7 +12,7 @@ # Improve: # Dependencies: # bundled: dependencies/datetime.py -# framework.sh (bgscripts-core) +# framework.sh, kinit-host (bgscripts-core >= 1.4.3) # kinit, klist (krb5-workstation) # ldapsearch, ldapmodify (openldap-clients) # passwd (passwd) @@ -28,7 +28,7 @@ lapsversion="2019-05-29a" usage() { ${PAGER:-/usr/bin/less -F} >&2 <] [-h ]] +usage: laps.sh [-duV] [-c conffile] [-t|-a] [-f] [-r [-u ] [-h ]] [-i] version ${lapsversion} -d debug Show debugging info, including parsed variables. --usage Show this usage block. @@ -41,6 +41,7 @@ version ${lapsversion} -r read Read password; do not set it. Can only be used by a domain admin. Can only be used with -u. -u user Connect with kerberos ticket for this user. Default is "machine" to use host keytab. -h Read this hostname instead of \$( hostname -s ) + -i interactive Allow laps to prompt for password if a keytab does not yet exist. Debug levels: 0 Silent 9 displays sensitive info, specifically the generated password -- cgit