packaging cronjob, run as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to package a cron file after reading [1], but I am wondering
what the best approach is to run a cronjob not as root while still using
the /etc/cron.daily folder.

Using /etc/cron.d would be an option, as that allows to run jobs as
different user, but maybe this is not the nicest...

I could use "sudo" in the shell script, but this feels ugly as well. Any
thoughts?

Cheers,
François

[1] https://fedoraproject.org/wiki/Packaging:CronFiles
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux