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) <[email protected]>
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
_______________________________________________
x2go-commits mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-commits

Reply via email to