Shell script – Logged in mail
Introduction This script helps you receive an email alert whenever a user logs into your Linux server. It is useful for monitoring access, especially for root logins. Prerequisites Implementation Step 1: Log in to the server Step 2: Open .bash_profilevi .bash_profile Step 3: Add the below scriptecho ‘ALERT – Root… Continue Reading Shell script – Logged in mail
