Web Hosting Talk







View Full Version : Crontab Help Needed...


Cael
06-24-2001, 03:03 AM
How can I give my customer access to crontab ?

Juan
06-24-2001, 03:04 AM
you can't. Only the root can access crontab.

DavidU
06-24-2001, 03:13 AM
Originally posted by Juan
you can't. Only the root can access crontab.

uhh, no.

as the user type "crontab -e" to begin editing it. Any stock RedHat distro allows all users to have their own crontab. "crontab -l" displays it.

-davidu

Cael
06-24-2001, 05:00 AM
Any alternative to let them access crontab without using telnet in Raq3 ?

(SH)Saeed
06-24-2001, 05:28 AM
You could always find/write a script that does the job.

eriky
06-24-2001, 12:56 PM
You can let them make a script (in my case a php file) and execute it everyday/week/etc..
If the customers wants to put more in it he can simply edit the script in his directory.

brandonk
06-24-2001, 08:02 PM
Originally posted by eriky
You can let them make a script (in my case a php file) and execute it everyday/week/etc..
If the customers wants to put more in it he can simply edit the script in his directory.

If you did this, the script would be executed as root.

Unless, you set it up under their username.

eriky
06-25-2001, 04:49 AM
Hm that's really stupid what I said :cool:
Luckilly I have only one trusted other user on my server and he doesn't even know he has root access this way. I'm going to change this a.s.a.p.
Thanks brandonk.

brandonk
06-25-2001, 12:35 PM
;)