Re: .lesshst



On 27/02/07, J.D. Bronson <jbronson@xxxxxxxx> wrote:
I have noticed since I installed 6.2, that anyone that uses csh has
these files created in their ~home dir.

Even root.

Anyone have a .profile/.cshrc/.login that can shut this off?

Excerpt from man less:

LESSHISTFILE
Name of the history file used to remember search commands and
shell commands between invocations of less. If set to "-", a
history file is not used. The default is "$HOME/.lesshst" on
Unix systems, "$HOME/_lesshst" on DOS and Windows systems, or
"$HOME/lesshst.ini" or "$INIT/lesshst.ini" on OS/2 systems.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: Linux hacked
    ... Also, what exactly did the history file show, can you paste it into a mail ... > First let me say I'm a security novice. ... > been unsuccessful in getting root back. ... > via ssh but you could su in once logged in as one of three users. ...
    (Security-Basics)
  • IDing originating user?
    ... * Telnet access allowed for everyone except root - had to su or sudo into ... Root's profile would set the command line history file based on the ... originating user name - ~root/.sh_history.dkoleary, ... Obtaining the pid from the SSH2_AUTH_SOCK, id'ing public key ...
    (comp.security.ssh)
  • Re: IDing originating user?
    ... > * Telnet access allowed for everyone except root - had to su or sudo into ... > is now sharing the same history file. ... The script will ID the ... > way of identifying the originating public key and/or originating ...
    (comp.security.ssh)
  • Re: bash on AIX 5.2
    ... >>I'm not using root. ... I actually changed the default login shell for my ... Check if there is a .history file in your ... If not, use the RPM. ...
    (comp.unix.aix)
  • Re: Date set?
    ... > It doesn't void any security because it still requires the knowledge of the ... > root PW. ... But then the password is in your command line history file. ...
    (comp.unix.shell)