Date: Tue, 8 Jan 2013 15:11:04 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: Andre Goree <andre@drenet.info> Cc: freebsd-questions@freebsd.org Subject: Re: Bash history empty on login Message-ID: <alpine.BSF.2.00.1301081507260.41917@mail.fig.ol.no> In-Reply-To: <op.wqlircacqdqf40@localhost.localdomain> References: <op.wqkfn7omqdqf40@desktop.drenet.local> <201301080759.52247.dyioulos@onpointfc.com> <op.wqlircacqdqf40@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-830327775-1357654264=:41917 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 8 Jan 2013 09:05-0500, Andre Goree wrote: > On Tue, 08 Jan 2013 07:59:51 -0500, Dimitri Yioulos <dyioulos@onpointfc.com> > wrote: > > > > > Hope I'm not offending you if the following are things > > you've tried as a matter-of-course: > > > > After booting up, is history started, or do you have to do > > that manually? Have you run "set -o" to see if history is > > enabled? If it isn't, then "set -o history". Is a "clear" > > command being issued from anywhere upon logout or reboot? > > > > Just some thoughts. > > > > No offense at all, thanks for your suggestions! I'm currently at work so I'll > test this when I get home (this is on a desktop running 8.3-stable). I've > never had to do anything special when using bash on FreeBSD. I'll be sure to > check th output of "set -o" and report back here. > > If there's an erroneous 'clear' command somewhere, it must be on logout since > I can easily test this problem being that I use tmux. :) I also do not have > a .bash_logout file, if that matters. > > Thanks for the suggestions, I'll let you know what turns up. What are the permissions of ~/.bash_history? Usually they are set to 0600 in octal due to security concerns and rightfully so. Could they be (re)set to 0400 or even 0000? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-830327775-1357654264=:41917--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1301081507260.41917>