Home page logo
/

basics logo Security Basics mailing list archives

RE: Basic Security for RedHat
From: "Jeff Gercken" <JeffG () kizan com>
Date: Thu, 9 Dec 2004 13:39:47 -0500

Something like this may work for ya.

#!/bin/bash
cp -pP /etc/shadow /root/passchk/shadow
sdiff -s shadow shadow.old | cut -d ":" -f1 > out
if [ -s out ]; then
        /usr/bin/smtpclient -f passwdtest () server domain com -S
mail.domain.com -s "account change" test you () domain com < out
        fi
mv shadow shadow.old

-Jeff

-----Original Message-----
From: Kalpin Erlangga Silaen [mailto:kalpin () solonet co id] 
Sent: Tuesday, December 07, 2004 8:33 PM
To: security-basics () lists securityfocus com
Subject: Basic Security for RedHat

Dear all,

I am using RedHat 9.0 and there is 3 admin in my server. I am looking 
for some tools which will send email to me while some admin adduser or 
change user's password. Also I am looking for some tutorials how to 
limits user's resources in RedHat and some security basics.

Any help will be appreciate.

---
Kalpin Erlangga Silaen
mailto: kalpin () solonet co id
URL: http://www.warningnews.com
YM: kalpinus
MSN: kalpinus
IRC: mesra.dal.net nick Kalpin


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault