hi all ........
my root .bash_profile is like this ... and when i am doing a root login
i am getting a mail in that all
the current logins are comming what is the mistake i am doing in this
.........
------------------------------------------------------------------------
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
echo 'ALERT - Root Shell Access 203 on:' `date` `who` | mail -s "Alert:
Root Access from `who | cut -d"(" -f2 | cut -d")" -f1`"
vipintm@xxxxxxxxxxxxxx
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV PATH
------------------------------------------------------------------------
Return-Path: <root@xxxxxxxxxxxxxxxxxxxxxx>
Delivered-To: vipintm@xxxxxxxxxxxxxx
Received: (qmail 29906 invoked from network); 24 Feb 2005 06:10:01 -0000
Received: from unknown (HELO telnets.lan.au-kbc.org) (192.168.2.203) by
0 with SMTP; 24 Feb 2005 06:10:01 -0000
Received: (from root@localhost) by telnets.lan.au-kbc.org
(8.11.2/8.11.2) id j1O6kIv03818 for vipintm@xxxxxxxxxxxxxx; Thu, 24 Feb
2005 12:16:18 +0530
Date: Thu, 24 Feb 2005 12:16:18 +0530
From: root <root@xxxxxxxxxxxxxxxxxxxxxx>
Message-Id: <200502240646.j1O6kIv03818@xxxxxxxxxxxxxxxxxxxxxx>
To: vipintm@xxxxxxxxxxxxxx
Subject: Alert: Root Access from lakshmi pts/0 Feb 23 10:11
lakshmi pts/1 Feb 23 10:12
kumari pts/2 Feb 24 09:57
kumari pts/3 Feb 24 09:57
kumari pts/4 Feb 24 09:57
a_mozhi pts/5 Feb 24 10:23
bionlp pts/6 Feb 24 11:30
vipintm pts/7 Feb 24 12:12
ALERT - Root Shell Access 203 on: Thu Feb 24 12:16:18 IST 2005 lakshmi pts/0
Feb 23 10:11 lakshmi pts/1 Feb 23 10:12 kumari
pts/2 Feb 24 09:57 kumari pts/3 Feb 24 09:57 kumari pts/4 Feb 24 09:57 a_mozhi
pts/5 Feb 24 10:23 bionlp pts/6 Feb 24 11:30 vipintm pts/7 Feb 24 12:12
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vipintm.vcf
Type: text/x-vcard
Size: 348 bytes
Desc: not available
Url :
http://www.ae.iitm.ac.in/pipermail/ilugc/attachments/20050224/afef6bab/vipintm.vcf