The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Security: is it a good idea? - notified when someone is loggin in

Discussion in 'Security' started by pingo, Jun 10, 2003.

  1. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    to add the following to /etc/csh.login og /etc/profile:

    mail < /dev/null > /dev/null -s "login at `date`" me@mydomain.com

    I understand that me@mydomain.com will receive a message with the time someone logged in without the one loggin in being able to see it.

    Does anyone else use it?

    Thanks
    John

    cPanel.net Support Ticket Number:
     
  2. WebmastTroy

    WebmastTroy Well-Known Member

    Joined:
    Apr 28, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Your subject got my attention..... "Security: is it a good idea?" :D


    I don't currently use that but I may start to. It seems like a good idea to at least have a log of the user's that have logged in in case something did happen.

    I suppose if you're really strict on security, you could be notified when they log in and watch what they're doing the entire time but that gets expensive when you think about how much support and staff time it would take up.

    cPanel.net Support Ticket Number:
     
  3. jmc67

    jmc67 Well-Known Member

    Joined:
    Mar 10, 2002
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Is this log for shell access only?

    cPanel.net Support Ticket Number:
     
  4. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    Those logs are there /var/log/secure
     
  5. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    This is a really nice Idea!!!
    You can also use
    last -i ==> to see who logged in
    last command shows the info for the whole Month i.e it starts from 1st of every month.

    Hope this helps!

    Regards

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page