Koozali.org: home of the SME Server

[SOLVED] Ventrilo Problem with sudoers file

Offline dadoudidon

  • *
  • 84
  • +0/-0
[SOLVED] Ventrilo Problem with sudoers file
« on: September 13, 2007, 04:50:15 PM »
Hello,
I just finished to install ventrilo on my sme 7.2.
The service start but impossible to connect to the server.
"Unable to connect to server"
I have check the ventrilo logs
and:
Code: [Select]
....
007-09-13 16:21:31.175715500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:32.459147500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:33.739817500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:34.997470500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:36.341239500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:37.628826500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:38.914488500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:40.195286500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:41.546774500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:42.981472500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:44.266114500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:45.549840500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:46.831476500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:48.180134500 root is not in the sudoers file.  This incident will be reported.
2007-09-13 16:21:49.428782500 root is not in the sudoers file.  This incident will be reported.
....

I did the install following the Howto in the wiki

Thanks in advance for your help

David
« Last Edit: September 13, 2007, 05:14:46 PM by dadoudidon »

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Ventrilo Problem
« Reply #1 on: September 13, 2007, 04:59:10 PM »
Your root user is not in the sudoers file (/etc/sudoers). This file controle who has the permission to run commands with sudo. Create a custom template:

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/sudoers
vim /etc/e-smith/templates-custom/etc/sudoers/10root

and put this into it:

Code: [Select]
root    ALL=(ALL) ALL
then expand the templates:

Code: [Select]
expand-template /etc/sudoers
and try to restart your service
C'est la fin du monde !!! :lol:

Offline dadoudidon

  • *
  • 84
  • +0/-0
Re: [SOLVED] Ventrilo Problem with sudoers file
« Reply #2 on: September 13, 2007, 05:15:12 PM »
Thanks
that was the trick
David