Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 22:11:55 +0000
From:      Jeff Penn <jeff@jrpenn.demon.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Changing to/from user within script
Message-ID:  <20021121221155.GA3926@jrpenn.demon.co.uk>

next in thread | raw e-mail | index | archive | help
Possibly a trivial question.

I want to run a cron job as a user on my system.  Once the job has
completed I need root privileges to power the system down.  I don't 
mind if the script has to run as a root cron job, but running the 
processing as a user will prevent against filling a partition. 

Can this be done without running two different cron jobs?.

thanks
Jeff

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021121221155.GA3926>