[X2Go-Commits] [live-build-x2go] 27/29: adds support for "nouser" - runs passwd -l on account "user", so password "live" becomes invalid

git-admin at x2go.org git-admin at x2go.org
Tue Dec 13 19:48:59 CET 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit a819180033b9135b1fe979dd483189349a01ab63
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Tue Jul 12 18:09:54 2016 +0200

    adds support for "nouser" - runs passwd -l on account "user", so password "live" becomes invalid
---
 .../includes.chroot/lib/live/config/2100-lockuser  |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/2100-lockuser b/config/includes.chroot/lib/live/config/2100-lockuser
new file mode 100755
index 0000000..7f89531
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/2100-lockuser
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+LockUser ()
+{
+
+# Output startup message
+#
+echo -n " lockuser"
+
+
+# Set password
+#
+if grep -q " *nouser *" /proc/cmdline ; then
+	passwd -l user >/dev/null
+fi
+
+}
+
+LockUser
+

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list