From owner-freebsd-current Thu Jan 27 15:58:35 2000 Delivered-To: freebsd-current@freebsd.org Received: from arnold.neland.dk (mail.neland.dk [194.255.12.232]) by hub.freebsd.org (Postfix) with ESMTP id A1E5B158BA for ; Thu, 27 Jan 2000 15:58:25 -0800 (PST) (envelope-from leifn@neland.dk) Received: from gina (gina.neland.dk [192.168.0.14]) by arnold.neland.dk (8.9.3/8.9.3) with SMTP id AAA93139; Fri, 28 Jan 2000 00:58:17 +0100 (CET) (envelope-from leifn@neland.dk) Message-ID: <00ab01bf6922$78c8e6e0$0e00a8c0@neland.dk> Reply-To: "Leif Neland" From: "Leif Neland" To: "Emre" , References: <20000127155328.A32492@iris.vsrc.uab.edu> Subject: Re: .bash_history and permissions Date: Fri, 28 Jan 2000 00:56:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message -----=20 From: "Emre" To: 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