Koozali.org: home of the SME Server

cron howto & sudo

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
cron howto & sudo
« 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
.........

Offline electroman00

  • *****
  • 491
  • +0/-0
cron howto & sudo
« Reply #1 on: October 07, 2005, 02:58:11 AM »
fixit

look at /etc/crontab

google crontab ; crontab creator ; crontab format

Have fun.....

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
cron howto & sudo
« Reply #2 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
............