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}'`" [email protected]

Save and exit.

See What Our Customers Say

Leave review
G

George S

AYKsolutions - best solution for small/high business I have several plans with them and i can sleep...

Read full review
J

Jesse

ON, Canada

- always respond fast - excellent pricing - great products

Read full review
W

WorldTruthorg

FL, United States

I have never experienced a more professional and personal client-based service such as I am enjoying...

Read full review
J

Jesse C

Great response time and excellent service. I've been with AYK for nearly a year now and I couldn't b...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft