X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fsudo-ldap.sudo.init;h=fcff6f7709605178285b35a41f63420ae6cef6fc;hb=f51d09c769c281c4bffb5a05fd34b83f78d8f2b9;hp=f99fdaeab7388fb14b8594870de920aaf96ad1cc;hpb=2359309b6b8174b5552c71232f555c65b3c86b66;p=debian%2Fsudo diff --git a/debian/sudo-ldap.sudo.init b/debian/sudo-ldap.sudo.init index f99fdae..fcff6f7 100644 --- a/debian/sudo-ldap.sudo.init +++ b/debian/sudo-ldap.sudo.init @@ -7,6 +7,8 @@ # X-Start-Before: rmnologin # Default-Start: 2 3 4 5 # Default-Stop: +# Short-Description: Provide limited super user privileges to specific users +# Description: Provide limited super user privileges to specific users. ### END INIT INFO N=/etc/init.d/sudo @@ -16,15 +18,15 @@ set -e case "$1" in start) # make sure privileges don't persist across reboots - if [ -d /var/run/sudo ] + if [ -d /var/lib/sudo ] then - find /var/run/sudo -exec touch -t 198501010000 '{}' \; + find /var/lib/sudo -exec touch -t 198501010000 '{}' \; fi ;; - stop|reload|restart|force-reload) + stop|reload|restart|force-reload|status) ;; *) - echo "Usage: $N {start|stop|restart|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac