Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Log de todas las cuentas de whm

Discussion in 'Discusión en Español' started by Cayo Rivera, Mar 8, 2019.

  1. Cayo Rivera

    Cayo Rivera Member

    Joined:
    Oct 6, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Bolivia
    cPanel Access Level:
    Root Administrator
    Buenas a todos, tengo una consulta.
    lo que pasa es que hace unos días sufrí un ataque a varias cuentas de mi servidor, el tema es que ahora tengo que entrar cuenta por cuenta y revisar el log para poder ver anomalías, existe alguna manera desde el whm para ver todos los log de las cuentas Cpanel?
    Gracias de antemano por su colaboración.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hola,


    Lo mejor que puede hacer es verificar esto a través de CLI que realmente no podrá encontrar lo que está buscando a través de WHM.

    Si está buscando quién accedió al servidor, querría revisar los registros de acceso de cPanel:

    Code:
    /usr/local/cpanel/logs/access_log 
    Registros específicos de dominio:

    Code:
    /etc/apache2/logs/domlogs/domain.tld 
    FTP y otros accesos estarán en:

    Code:
    /var/log/messages
    =======================================================================

    Hello,


    The best thing to do would be to check this over CLI you really won't be able to find what you're looking for through WHM.

    If you're looking for who accessed the server you'd want to check the cPanel access logs:

    Code:
    /usr/local/cpanel/logs/access_log 
    Domain specific logs:

    Code:
    /etc/apache2/logs/domlogs/domain.tld 
    FTP and other accesses will be in:

    Code:
    /var/log/messages
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Cayo Rivera likes this.
  3. Cayo Rivera

    Cayo Rivera Member

    Joined:
    Oct 6, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Bolivia
    cPanel Access Level:
    Root Administrator
    Muchas gracias, reviso y le comento.
     
  4. Cayo Rivera

    Cayo Rivera Member

    Joined:
    Oct 6, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Bolivia
    cPanel Access Level:
    Root Administrator




    me sale este error, y esto y como root
    /usr/local/cpanel/logs/access_log: Permission denied
     
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hola,


    ¿Cómo estás tratando de ver el registro como root? Normalmente, estoy tratando de usar grep para buscar algo específico o cola para ver el último "X" número de líneas en el registro.

    Por ejemplo:

    Code:
    grep "some string here" /usr/local/cpanel/logs/error_log 
    Code:
    tail -1000 /var/log/messages
    =======================================================================

    Hello,


    How are you trying to view the log as root? Typically I'd be trying to use grep to search for something specific or tail to view the last "X" number of lines in the log.

    For example:

    Code:
    grep "some string here" /usr/local/cpanel/logs/error_log 
    Code:
    tail -1000 /var/log/messages
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Cayo Rivera

    Cayo Rivera Member

    Joined:
    Oct 6, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Bolivia
    cPanel Access Level:
    Root Administrator

    Muchísimas gracias con eso puedo trabajar.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice