MESSAGE
DATE | 2003-03-05 |
FROM | Marco Scoffier
|
SUBJECT | Re: [hangout] bash history
|
On Wed, Mar 05, 2003 at 11:01:49AM -0500, Ruben Safir wrote: > > what's the pros and cons of having the root history around. > Well it is one of the most obvious places to look for passwords.
su password
is quite a common mistake. as is ssh user-at-host password
I don't erase root's history in fact I am a huge fan of history. I love that the long complex command I typed in last week or three weeks ago is still lying around. I believe Jay thinks strongly about this also.
You were the one who wanted to "turn off" history.
man bash /hist should give you many possibilities
--Marco > I've always been taught to get rid of it. I usually end of > with a password in it somehow. > > Ruben > > On Wed, Mar 05, 2003 at 10:15:10AM -0500, Marco Scoffier wrote: > > On Wed, Mar 05, 2003 at 12:06:27AM -0500, Ruben Safir wrote: > > > > > > Does anyone know how to turn off bash_history on root? > > How about > > export HISTFILESIZE=0 > > in your bashrc. That's what you are worried about right? > > having the history file lying around. > > > > --marco > > -- > __________________________ > Brooklyn Linux Solutions > __________________________ > DRM is THEFT - We are the STAKEHOLDERS http://fairuse.nylxs.com > > http://www.mrbrklyn.com - Consulting > http://www.inns.net <-- Happy Clients > http://www.nylxs.com - Leadership Development in Free Software > http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net > http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn.... > > 1-718-382-0585 > ____________________________ > NYLXS: New Yorker Free Software Users Scene > Fair Use - > because it's either fair use or useless.... > NYLXS is a trademark of NYLXS, Inc
-- ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|