Files @ r5:a570202d2793
Branch filter:

Location: public/ws-vacation/lib/ws-vacation-sudo.in

ws
index.php: Umlaut and HTML-escaping fixed. Display enhancement.
lib/util.php: vacation_split/vacation_join functions to centralize the gory details.
Message `Content-Type: text/plain; charset="utf-8"'
and `Content-Transfer-Encoding: quoted-printable' added.
lib/language.php: Add administrator manual headline.
# Allow www user to run the vacation command as a user, but not as root
User_Alias WWWRUN = wwwrun,www-data
Runas_Alias NOTROOT = ALL,!root
Cmnd_Alias VACATION=/usr/bin/vacation *
Cmnd_Alias RM_FORWARD=/bin/rm -f /home/*/.forward
Cmnd_Alias CAT_FORWARD=@base_dir@/lib/write_to.sh /home/*/.forward
Cmnd_Alias CAT_VACATION_MSG=@base_dir@/lib/write_to.sh /home/*/.vacation.msg
WWWRUN ALL=(NOTROOT) NOPASSWD: VACATION 
WWWRUN ALL=(NOTROOT) NOPASSWD: RM_FORWARD
WWWRUN ALL=(NOTROOT) NOPASSWD: CAT_FORWARD
WWWRUN ALL=(NOTROOT) NOPASSWD: CAT_VACATION_MSG