Bash history empty on login
Trond Endrestøl
Trond.Endrestol at fagskolen.gjovik.no
Tue Jan 8 14:11:11 UTC 2013
On Tue, 8 Jan 2013 09:05-0500, Andre Goree wrote:
> On Tue, 08 Jan 2013 07:59:51 -0500, Dimitri Yioulos <dyioulos at 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. |
+-------------------------------+------------------------------------+
More information about the freebsd-questions
mailing list