From 48cc6af8692e61aac11d9fbcc6cc2286cf0d31f2 Mon Sep 17 00:00:00 2001 From: "Alexander I. Chebykin" Date: Fri, 1 Jul 2022 12:06:57 +0300 Subject: [PATCH] Fixed some typos Fixed some typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 343454b..bf2acf7 100644 --- a/README.md +++ b/README.md @@ -116,12 +116,12 @@ Watchdog can send notifications on user login. Just add to ```/etc/profile.d/ssh 1. ```User=$(whoami)``` 1. ```IP=$(echo $SSH_CONNECTION | awk '{ print $1 == "" ? "127.0.0.1" : $1 }')``` 1. ```ICON_INFO=$(echo -e "\U2139")``` - 1. ```send-telegram "${ICON_INFO} SSH: User ${Users} is logged in from ${IP}"``` + 1. ```send-telegram "${ICON_INFO} SSH: User ${User} is logged in from ${IP}"``` - For e-mail: 1. ```User=$(whoami)``` 1. ```IP=$(echo $SSH_CONNECTION | awk '{ print $1 == "" ? "127.0.0.1" : $1 }')``` 1. ```ICON_INFO=$(echo -e "\U2139")``` - 1. ```send-mail your@mail.addr '${ICON_INFO} SSH: User ${Users} is logged in' '${ICON_INFO} SSH: User ${Users} is logged in from ${IP}'``` + 1. ```send-mail your@mail.addr '${ICON_INFO} SSH: User ${User} is logged in' '${ICON_INFO} SSH: User ${User} is logged in from ${IP}'``` ## User logouts monitoring (*nix) -- 2.51.0