aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-05-29 10:31:36 -0400
committerB Stack <bgstack15@gmail.com>2019-05-29 10:31:36 -0400
commitdad8071af7484847a7a6e7cf8d4ee33b520aa09e (patch)
tree1b15981d4deef367eea93ed55d03545512e60bdb
parentfix #7: add LAPS_KINIT_HOST_SCRIPT_OPTS (diff)
downloadlaps-dad8071af7484847a7a6e7cf8d4ee33b520aa09e.tar.gz
laps-dad8071af7484847a7a6e7cf8d4ee33b520aa09e.tar.bz2
laps-dad8071af7484847a7a6e7cf8d4ee33b520aa09e.zip
fix #6: document -i interactive flag, and general documentation
-rw-r--r--laps.spec2
-rw-r--r--src/usr/share/doc/laps/changes6
-rw-r--r--src/usr/share/doc/laps/version.txt2
-rwxr-xr-xsrc/usr/share/laps/laps.sh5
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 <bgstack15@gmail.com> 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 <bgstack15@gmail.com> 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 <bgstack15@gmail.com> - 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 <<ENDUSAGE
laps is the Local Administrator Password Solution for GNU/Linux.
-usage: laps.sh [-duV] [-c conffile] [-t|-a] [-f] [-r [-u <username>] [-h <hostname>]]
+usage: laps.sh [-duV] [-c conffile] [-t|-a] [-f] [-r [-u <username>] [-h <hostname>]] [-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 <hostname> 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
bgstack15