A security hole

Guy Harris guy at gorodish.Sun.COM
Sun Mar 27 07:23:10 AEST 1988


> Use su in your crontab:
> 
> 	0 * * * * su news -c "rnews -U"
> 
> Then rnews (or whatever command you like) will run as news, not root.

Or, if you're running an S5R2 or later "cron", just put this entry in "news"'s
"crontab" file rather than "root"'s.  (Make sure you allow "news" to run
"cron" by setting up "cron.allow" and "cron.deny" properly.)



More information about the Comp.bugs.sys5 mailing list