Skip to main content
Home
in.AltaGrade.org
Tutorials for AltaGrade Admins

Main menu

  • Home

You are here

Home » AltaGrade OS

Send Shell Access alerts

Submitted by Alan Mels on Mon, 09/04/2017 - 00:44

We need to send alert only if IP is not whitelisted.

echo "Shell Access to ${HOSTNAME} on:" `date` `who` | mail -s "*** SECURITY Alert: Shell Access to ${HOSTNAME} from `who | cut -d"(" -f2 | cut -d")" -f1` ***" info@altagrade.com

‹ Run core patches with Drush Make file up Settings on Docksal development environment ›
  • Log in to post comments

Book navigation

  • AltaOS 8 Installation
  • CentOS 8 based AltaOS
  • Installation script (Deprecated)
  • /etc/ag/scripts/update-drupal
  • /etc/profile.d/globaliases.sh
  • /etc/varnish/default.vcl
  • AltaGrade OS
    • AltaOS 7
    • Apache configuration for in. and repo.altagrade.org
    • Clean-up script
    • Configuring Pound proxy
    • Install Apache Solr
    • Run core patches with Drush Make file
    • Send Shell Access alerts
    • Settings on Docksal development environment
    • Shared Hosting Server
    • Syncing updates to guest systems
    • Useful commands
  • AltaOS on Ubuntu
  • CentOS 8: Configuring Webmin and Virtualmin
  • CLI tools
  • ddev
  • Docksal
  • Hercules Industries
  • Hurricane Electric
  • Mail server
  • Repository
  • Setup Docker on CentOS 8
  • Setup VPN server on CentOS 8
  • Webmin and Virtualmin fixes
  • Webuzo-based system

Who's online

There are currently 0 users online.