Cron jobs running as something other than root
    Douglas B. Jones 
    douglas at dekalb.UUCP
       
    Wed Sep  5 05:34:25 AEST 1990
    
    
  
In article <26d9499b.2715 at petunia.CalPoly.EDU> gmartin at polyslo.CalPoly.EDU (Hackman) writes:
>	Is there any way to make a job that runs from cron run under a 
>        different login id???
>	-Guy Martin
>         Kennedy Library Computer Services
>	 Cal Poly, San Luis Obispo, CA
>Guy Martin (Hackman)             //      Internet: gmartin at polyslo.calpoly.edu
>---------------------           //       Fubarnet: guy at fubarsys.slo.ca.us
>Amiga, the tool for the     \\ //        Work: guy at library.calpoly.edu     
>creative mind--------->      \X/         UUCP: ucbvax!voder!polyslo!gmartin
In our /etc/crontab there are entries that are run for uucp.
Here are some examples:
30 * * * * su uucpa < /usr/var/uucp/uucp.hour
0 6 * * * su uucpa < /usr/var/uucp/uucp.day
0 12 * * * su uucpa < /usr/var/uucp/uucp.noon
0 3 1 * * su uucpa < /usr/var/uucp/uucp.week
0 2 * * * su uucpa < /usr/var/uucp/uucp.night
#30 2 1 * * su uucp < /usr/var/uucp/uucp.longhall
"uucpa" is an admin. id for uucp.
hope this helps,
Douglas
-- 
Doulas B. Jones					douglas at dekalb
Academic Computer Center		or	gatech!dekalb!douglas
DeKalb College
555 N. Indian Creek Drive/Clarkston, Ga. 30021  (404) 299-4233
    
    
More information about the Comp.unix.wizards
mailing list