summaryrefslogtreecommitdiff
path: root/bin/passwd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/passwd')
-rwxr-xr-xbin/passwd11
1 files changed, 8 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