Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 1999 18:32:45 -0500
From:      Glen Mann <gmann@cyberia.com>
To:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   bash history permissions wide open
Message-ID:  <36FC191D.312452DC@cyberia.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36FC191D.312452DC>