[tor-relays] Delete keys on reboot

Andreas Krey a.krey at gmx.de
Thu Apr 23 05:34:50 UTC 2015


On Wed, 22 Apr 2015 22:56:31 +0000, CJ Barlow wrote:
> If I run
> 
> rm -f /var/lib/tor/keys/* 2>&1 >> /home/[me]/reboot.txt
> 
> it  doesn't error (as long as I run it with sudo) but it also doesn't do
> anything,

You might do

(ls -lart /var/lib/tor/keys
 echo /var/lib/tor/keys/*
 rm -f /var/lib/tor/keys/*
 ls -lart /var/lib/tor/keys
 ) 2>&1 >> /home/[me]/reboot.txt

too see if it does (and match) anything.

> checking *keys *shows it still contains files.

Sure that those aren't already regenerated keys
from a new tor instance?

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800


More information about the tor-relays mailing list