Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    124

    Default ssh/email error

    host.domain.com : Aug 7 10:57:44 : hacpnet : can't stat /etc/sudoers: No such file or directory ; TTY=pts/1 ; PWD=/home/hacpnet ; USER=root ; COMMAND=/bin/su


    i keep getting an email with that error in it.
    The subject of the email is:

    *** SECURITY information for host.domain.com***

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    So, you need to track down what sent you that email. Presumably some app on the server that runs regularly sent it to you. When you find out where it came from, you should investigate whatever it's reporting to you.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Feb 2004
    Posts
    124

    Default

    okay, i found out i am missing my /etc/sudoers file. someone tried sudo root.

    how do i go about creating my sudo file again

  4. #4
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    Run the "visudo" command and add the following line to the file

    Code:
    root    ALL=(ALL) ALL
    Either Zero Or Hundred...

Similar Threads & Tags
Similar threads

  1. ssh error
    By iggi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-12-2007, 10:36 AM
  2. SSH Error
    By BlackPanther in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-21-2007, 05:15 AM
  3. send email from ssh?
    By 10101 in forum E-mail Discussions
    Replies: 7
    Last Post: 09-01-2004, 04:32 AM
  4. ssh email notification
    By Sheldon in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-04-2004, 11:58 AM
  5. error in ssh
    By AlaskanWolf in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-31-2001, 08:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube