|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Short /etc/security addition
From: Giorgos Keramidas (charon
hades.hell.gr)Date: Fri Feb 04 2000 - 19:02:28 CST
- Next message: Igor Roshchin: "yet another idea about /etc/security"
- Previous message: Kris Kennaway: "Re: I need help :)"
- In reply to: Garrett Wollman: "Short /etc/security addition"
- Next in thread: Igor Roshchin: "Re: Short /etc/security addition"
- Reply: Giorgos Keramidas: "Re: Short /etc/security addition"
- Reply: Igor Roshchin: "Re: Short /etc/security addition"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Feb 04, 2000 at 12:24:52PM -0500, Garrett Wollman wrote:
> We found this useful:
>
> --- /usr/src/etc/security Tue Dec 21 04:46:02 1999
> +++ /etc/security Fri Jan 28 21:25:32 2000
> 
-56,6 +56,10 
> echo "checking for passwordless accounts:"
> awk -F: 'NF > 1 && $1 !~ /^[#+]/ && $2=="" {print $0}' /etc/master.passwd
>
> +separator
> +echo "checking for su usage:"
> +zcat /var/log/messages.0.gz | fgrep ' su: ' | sed -e 's,^, ,'
You can get pretty the same output with:
zcat /var/log/messages.0.gz | sed -n -e '/ su: / s,^, ,p'
-- Giorgos Keramidas, < keramidaceid . upatras . gr > For my public PGP key: finger keramida
diogenis.ceid.upatras.gr PGP fingerprint, phone and address in the headers of this message.
To Unsubscribe: send mail to majordomo
FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
- Next message: Igor Roshchin: "yet another idea about /etc/security"
- Previous message: Kris Kennaway: "Re: I need help :)"
- In reply to: Garrett Wollman: "Short /etc/security addition"
- Next in thread: Igor Roshchin: "Re: Short /etc/security addition"
- Reply: Giorgos Keramidas: "Re: Short /etc/security addition"
- Reply: Igor Roshchin: "Re: Short /etc/security addition"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]