/tmp bei jedem boot löschen
Stefan Luetje
stefan.luetje at t-online.de
Di Jul 6 06:40:57 BST 2010
Am 06. Jul 2010 um 05:33 CEST schrieb Christian Knorr:
> Hallo zusammen,
> gibt es eine "normale" Möglichkeit /tmp bei jedem boot löschen zu lassen?
> Mit normal meine ich einen Parameter oder ein Paket, keine Bash-hacks in
> rc.local oder Ähnlich.
Ich habe das hier unter Debian in der Datei /etc/default/rcS einstellen
können.
,----[ man rcS ]
| TMPTIME
| On boot the files in /tmp will be deleted if their modification time is
| more than TMPTIME days ago. A value of 0 means that files are removed
| regardless of age. If you don’t want the system to clean /tmp then set
| TMPTIME to a negative value (e.g., -1) or to the word infinite.
`----
Gruß
Stefan
--
Stefan Lütje <stefan.luetje at t-online.de> Skelli at jabber.ccc.de
Key fingerprint = BCB2 48E4 9211 C975 5A3F B192 9B6E CCCF 99CC 44FA
msgid "Computer bought the farm"
msgstr "Der Computer hat den Bauernhof erworben"
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : nicht verfügbar
Dateityp : application/pgp-signature
Dateigröße : 197 bytes
Beschreibung: Digital signature
URL : https://lists.ubuntu.com/archives/ubuntu-de/attachments/20100706/27262055/attachment.pgp