Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: fixit on October 07, 2005, 02:31:57 AM

Title: cron howto & sudo
Post by: fixit on October 07, 2005, 02:31:57 AM
I need to know how do i create a cron job, currently i am using the command crontab -e and when i go to save it, it is not in any of the cron dirs/. I probably just need some examples to go by.

Also, I need to login as a different user other than root, is sudo the command to do this

How do i create a new user that has rights to install packages from the command line

Thanks, Russell
Title: cron howto & sudo
Post by: electroman00 on October 07, 2005, 02:58:11 AM
fixit

look at /etc/crontab

google crontab ; crontab creator ; crontab format

Have fun.....
Title: cron howto & sudo
Post by: Reinhold on October 07, 2005, 06:44:36 PM
...open an ssh console...
man sudo
man crontab


:-D ...every linux comes with a built in manUAL

...now why do you want to install (which?) executables (?) and not being root?? on a server???
... try man chown and man chmod
...notice that you do already have such users as www

HTH
Regards
Reinhold