I would like to use inittab rather than crontab for starting my eggdrop. And the only help I can find is a forum entry about adding this line to the inittab:
egg1:23:respawn:/usr/bin/sudo -u eggdropusername /command/to/start/eggdrop
which doesn't work when I sub in all my path and user info. I tried to just run the sudo line and this is what I get:
So I guess that would probably be my problem.[robv@localhost robv]# /usr/bin/sudo -u myacct /home/myacct/eggdrop/eggdrop
[14:06] LANG: No lang files found for section core.
Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
[14:06] --- Loading eggdrop v1.6.17 (Wed Oct 6 2004)
[14:06] * MSG534
[robv@localhost robv]#
I can run the eggdrop fine from myacct, but as you can see if I'm in my root account trying to execute it using sudo (or su) the above happens. I'm definately a linux noob. Any help woul be great. Thanks.