Yes but what if you (or someone else sharing the root account) got it
into history by accident?

(apologies for top posting, limitations of client)

On 2/9/09, Owen Townend <[email protected]> wrote:
> 2009/2/9 Amos Shapira <[email protected]>:
> [snip]
>>
>> And one last thing, related to security - if you type a sensitive
>> string on the command line and get it into your history, use "history
>> -d" to delete this line.
>>
>
> There is an easier way around this. Most shells, bash included will
> exclude a line from the history if you begin it with a space.
>
> cheers,
> Owen.
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to