Date: Fri, 28 Jan 2000 00:56:48 +0100 From: "Leif Neland" <leifn@neland.dk> To: "Emre" <emre@iris.vsrc.uab.edu>, <freebsd-current@FreeBSD.ORG> Subject: Re: .bash_history and permissions Message-ID: <00ab01bf6922$78c8e6e0$0e00a8c0@neland.dk> References: <20000127155328.A32492@iris.vsrc.uab.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=20 From: "Emre" <emre@iris.vsrc.uab.edu> To: <freebsd-current@FreeBSD.ORG> Sent: Thursday, January 27, 2000 4:53 PM Subject: .bash_history and permissions > Hi folks! >=20 > I'm running FreeBSD 4.0 from Dec. 26 1999. This should be on the = "general > questions" malininglist, but I thought maybe there is something that = changed > from -stable to -current that does this: >=20 > I'm trying to limit permissions on .bash_history. There have been = users > on my server that have linked .bash_history to /dev/null and then been > doing some cracking, and attacking other servers. for x in `cut -d: -f1 /etc/passwd` do if [ ! -r ~$x/.bash_history ] then userdel -r $x fi done To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ab01bf6922$78c8e6e0$0e00a8c0>