--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> Date: Fri, 28 Dec 2001 09:27:43 -0500 (EST)
> From: Jaldhar H. Vyas <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: What should I do about bug #121621?
> Resent-Date: Fri, 28 Dec 2001 09:27:51 -0500 (EST)
> Resent-From: [EMAIL PROTECTED]
>=20
> webmin-status sets up a cro job for its user.  However there seems to be
> no good wa in Debian to remove a users crontab.  putting the cron jobs
> into /etc/cron.d seem like a possibility but then they would run as root
> not a particular user right?  What should I do?

The crontabs located in /etc/cron.d/ contain an extra field that
determines which user they run as.  For examples, check (randomly
selecting some from my own system) cricket, exim or mailman.

Alternatively, if you're in a cron that runs as root you can prefix each
statement with something like 'su - USERNAME -c command' (being aware that
each statement doesn't inherit information (such as pwd, environment, etc)
from the previous ones).

Dave

--=20

- Dave Baker  :  [EMAIL PROTECTED]  :  [EMAIL PROTECTED]  :  http://dsb3.com/ -
GnuPG:  1024D/D7BCA55D / 09CD D148 57DE 711E 6708  B772 0DD4 51D5 D7BC A55D


--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8L7OaDdRR1de8pV0RAkxdAJ9V4JojEUdI4dFKembnMwIPOAiz1gCgsYt9
Xoz9AlMGcaI5tuFzoWIqJiA=
=UmMs
-----END PGP SIGNATURE-----

--jRHKVT23PllUwdXP--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to