[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: history issue - bug?



On Sun, Jan 14, 2018 at 02:07:01PM +0100, Hans wrote:
> Hi folks, 
> 
> try this:
> 
> 1. login as normal user
> 
> 2. become root with "su -"
> 
> 3. delete history with "history -c"

Then run "history -w" to "write the current history to the history
file"

> 4. Check history, history is gone
> 
> 5. logout from root by "CTL + D" or "exit"
> 
> 6. relogin as root with "su -"
> 
> 7. Check history, voila, it appears again.
> 
> What is wrong? Is it a bug or am I doing the wrong way?
> 
> Any comment will help.
> 
> Best regards
> 
> Hans

Regards

-- 
Felipe Salvador


Reply to: