diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-02 11:18:05 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-02 11:18:05 +0100 |
commit | b35696d557345db1664db7c6eda04631484769f4 (patch) | |
tree | 3e729237b65aecbf4a36e7c127dcd384e7bf6e3c /bin | |
parent | 2153ce360cbf1343dfc5f0461d25aa6bfb2a8b6c (diff) | |
download | itzks-systems-b35696d557345db1664db7c6eda04631484769f4.tar.gz itzks-systems-b35696d557345db1664db7c6eda04631484769f4.tar.bz2 itzks-systems-b35696d557345db1664db7c6eda04631484769f4.zip |
/bin/passwd: To users with uidNumber >= 1000 -> show the GOsa² link. To users with uidNumber < 1000 -> wrap around GNU passwd binary.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/passwd | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |