This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
O
Ohmu
Post
by Ohmu » Sat Mar 23, 2002 6:56 pm
ok, I am total n00b @ eggdrops so I want to know why I cant start my eggy from root ??
Ohmu
Petersen
Owner
Posts: 685 Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK
Post
by Petersen » Sat Mar 23, 2002 7:07 pm
because it would be one massive security hole. anyone with +n would effectivly have full access to the root account under certain conditions
O
Ohmu
Post
by Ohmu » Sat Mar 23, 2002 7:14 pm
but how can I make it run eggy when my computer boots up?
Petersen
Owner
Posts: 685 Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK
Post
by Petersen » Sat Mar 23, 2002 9:08 pm
crontab or su -c
t
tomi
Post
by tomi » Mon May 20, 2002 9:12 am
Hi,
I have the same problem. Could somebody tell me the right syntax to run the eggdrop when Iam logged in by root.
Thank you!
O
Ohmu
Post
by Ohmu » Mon May 20, 2002 9:30 am
i think it was like: su -c "./eggdrop conf" user
t
tomi
Post
by tomi » Mon May 20, 2002 10:18 am
thank you. Now i got this error:
Config File not loaded (not found, or error)
??
O
Ohmu
Post
by Ohmu » Mon May 20, 2002 10:21 am
su -c "./eggdrop config_file" user
config_file = your eggdrop config
user = the user who will "run" the eggdrop
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon May 20, 2002 10:46 am
Eggdrop will plain not run as root user.
The su -c trick is telling the OS to run eggdrop as another user, this it is not a work around.
Simpler methods would be to learn how to add a user, login as that user, then follow the compile and comfigure steps. Them from then on, use this user to launch the eggdrop, and/or setup the crontab.
For those that don't read the warnings plastered over most linux software.
You should never run any peice of software as rot, unless you know exactly what the software does. Nor should you run a peice of software, if you do not trust the manufacturers.