Announcement

Collapse
No announcement yet.

auto cleanup of used files/bash-history etc.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    auto cleanup of used files/bash-history etc.

    Kubuntu is great, however, I may need some privacy on my laptop, when looking around, I found "KControl -> Privacy and Security", but is it possible to run this cleanup-script automatically every time I log out? How can I create a more 'LiveCD-ish' system without any traces of command-history and used files? :/

    Another Q, is it difficult to encrypt my home-directory and their configuration-files without removing anything? /Home is on a separate 5 GB partition.
    There's no Spoon..., only Fork while Fork...

    #2
    Re: auto cleanup of used files/bash-history etc.

    execute commands on log out:
    from the bash man page...
    /etc/bash.logout
    The systemwide login shell cleanup file, executed when a login shell exits
    ~/.bash_logout
    The individual login shell cleanup file, executed when a login shell exits
    so...
    just put your cleanup commands in those files,
    depending upon how you want your system to behave...


    file system encryption:
    this could be a starting point.

    hth
    gnu/linux is not windoze

    Comment

    Working...
    X