From owner-freebsd-questions Fri Mar 26 15:33:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.desupernet.net (mail2.desupernet.net [204.249.184.37]) by hub.freebsd.org (Postfix) with SMTP id 3366F14F88 for ; Fri, 26 Mar 1999 15:32:18 -0800 (PST) (envelope-from gmann@cyberia.com) Received: (qmail 3680 invoked from network); 26 Mar 1999 23:21:16 -0000 Received: from unknown (HELO cyberia.com) (208.3.220.112) by mail2.desupernet.net with SMTP; 26 Mar 1999 23:21:16 -0000 Message-ID: <36FC191D.312452DC@cyberia.com> Date: Fri, 26 Mar 1999 18:32:45 -0500 From: Glen Mann Organization: Phrantic Physics X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Questions Subject: bash history permissions wide open Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello- I like bash, and so use it for all my accounts, including root. In the root home directory (/root) the .bash_history file has permissions such that anyone can read it, for instance to get mysql admin passwords, etc. Wow - glad it's only me on this system! Should I be so surprised at this? Shouldn't the file be defaulted by bash to readable only by the owner? Thanks -Glen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message