Weird... I ran the same test on an unprivileged user and got that user's
full environment...
Greg
-Original Message-
From: Doug Weimer [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 12:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [gentoo-user] cron environment
On Sun, 20
On Sun, 2003-09-21 at 20:48, Gregory Symons wrote:
> I believe it gets the full environment the the user has; i.e. when it
> launches the shell, the shell does its normal initialization and sources
> the global environment and whatever the user has in his
> .profile/.bashrc/.. The man page isn't t
With the default config, cron runs as root, as do the scripts in the
cron.x directories. You could easily change this to another user in
/etc/crontab, but you'll want to add specific lines for makewhatis.cron
and slocate (from cron.daily) if you want to keep them as they need to
run as root (though