BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Linux Server Security

To have the server e-mail you everytime someone logs in as root, SSH into server and login as root.

At command prompt type: pico .bash_profile

Scroll down to the end of the file and add the following line:

echo 'ALERT - Root Shell Access on:' `date` `who` | mail -s "Alert: Root Access from `who | awk '{print $6}'`" your@email.com

Save and exit.

See What Our Customers Say

Leave review
A

Anthony J

FL, United States

Very courteous, professional, and willing to help. They truly care about client based relationships...

Read full review
C

Cory

GA, United States

I have been with ayksolutions for around 5 years and have been thoroughly impressed with them. All s...

Read full review
O

Oliver

Great Service I was using a dedicated server with AYK for about 6 months untill i sold my website. T...

Read full review
R

RatePoint R

Good Cooperation The datacenter is very co-operating, and provides immediate response.

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft