summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/passwd11
-rw-r--r--debian/changelog8
2 files changed, 16 insertions, 3 deletions
diff --git a/bin/passwd b/bin/passwd
index 60ac87f..f18fc3d 100755
--- a/bin/passwd
+++ b/bin/passwd
@@ -1,4 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-echo "Please visit https://www/gosa to set your network password for Debian Edu / Skolelinux. THANKS!"
-exit 0 \ No newline at end of file
+if [ `id -u` -ge 1000 ]; then
+ echo "Please visit https://www/gosa to set your network password for Debian Edu / Skolelinux. THANKS!"
+else
+ passwd.gnu $@
+fi
+
+exit 0
diff --git a/debian/changelog b/debian/changelog
index 25e4c96..2ef2116 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+itzks-systems (2012.11.02.3) UNRELEASED; urgency=low
+
+ * /bin/passwd:
+ + To users with uidNumber >= 1000 -> show the GOsa² link. To users with
+ uidNumber < 1000 -> wrap around GNU passwd binary.
+
+ -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 02 Nov 2012 11:16:33 +0100
+
itzks-systems (2012.11.02.2) squeeze-backports; urgency=low
* Rename of bin:package: itzks-systems-config -> itzks-systems-common.