1. Is there a module available (I have searched fruitlessly) that would allow me to easily let a user set/unset, and change their .vacation.msg file via a cgi form?
2. I have implemented SSL on Apache (OpenBSD) - and have the directory that the cgi will run out of set to force authentication - and it works :) . I think I could take the remote_user variable and substitute it in perl code to modify the vacation and forward files in the user's home dir. But I believe I would still have to run 'vacation -i' as the user. I'm not sure how to go about this (would setuid be the best/only way? or how might I perhaps su - username to do it?)
Also - it would seem unwieldy as user population grows to have to maintain the htaccess file (I may have to move to an OpenLDAP solution - but have no experience implementing such).
3. Can anyone point me to resources, and/or example code to do this sort of user file manipulation?
4. charity solution Has anyone done this whom is willing to share their hard work with a humble weenie monk?
Thank you.
NeoMonk Weenie
In reply to help...cgi-bin form - strategy needed to set user's out of office reply via the vacation prog. by weenie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |