Given a typical minimal system boot results in at least a few hundred KB being written to disk. Removing .bash_history from that won't make a noteworthy amount of difference.

If you are concerned about this, you may want to look at the patches I submitted in this RHBZ:

https://bugzilla.redhat.com/show_bug.cgi?id=223722

Gordan

On 12/03/2014 08:15 AM, Maulvi Bakar wrote:
To expand on the answer - the physical storage system on redsleeve are
usually SDCards or equivalent.

Frequent reads/writes to it will shorten its life.

I mean, /var/log/messages is bad enough I think.


Regards

Maulvi

On Wed, Dec 3, 2014 at 3:49 PM, Gordan Bobic <[email protected]
<mailto:[email protected]>> wrote:

    On 12/03/2014 04:06 AM, Robert Moskowitz wrote:

        Well I finally realized why no history for user root.

        /root/.bash_history is linked to /dev/null

        What is the reason for this?  Is it for security reasons?


    Yes.

        How do I remove this link and create a regular .bash_history file?


    You aren't seriously asking this question on a list for a Linux
    distro that _really_ isn't for Linux newbies, are you?

    rm /root/.bash_history
    touch /root/.bash_history

    Gordan

    _________________________________________________
    users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.redsleeve.org/__mailman/listinfo/users




_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to