Running Programs from CRON as root

Gerard Seibert gerard-seibert at suscom.net
Wed Jun 29 20:12:36 GMT 2005


I am not sure how to go about this. If I do not want to touch the system
CRON, is it possible to create a personal CRON that could  run two
programs, both at the super user level"

Example:

I want to update the ports tree and then run portmanager to install the
updates. These obviously have to be run as root. Is there a way I can
force this to happen without actually leaving the system logged in as
root?

I have 'bash 3' installed as my shell if that makes any difference.

-- 
Gerard E. Seibert
gerard-seibert at suscom.net



More information about the freebsd-questions mailing list