diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-12 02:35:01 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-12 02:35:01 +0200 |
commit | 290f2a74c2e2140aa78016aeeb066d447a801ecd (patch) | |
tree | 041dc85ea68862993a2a0c41f5614f4049a1e0ff /debian/local | |
parent | 95f85966681f56233db55885bd6487b2811a825c (diff) |
Avoid /tmp/entropy.sock compromision
* local/setup-translators: Set up entropy socket in /var/run instead of
/tmp, as the latter is world-writable.
Diffstat (limited to 'debian/local')
-rwxr-xr-x | debian/local/setup-translators | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/local/setup-translators b/debian/local/setup-translators index 17d0a28a..6bd2f1d1 100755 --- a/debian/local/setup-translators +++ b/debian/local/setup-translators @@ -145,8 +145,8 @@ else md ptyq md lprX 0123 md comX 0123 - st random 'random /tmp/entropy.sock' random - st urandom 'random -u /tmp/entropy.sock' urandom + st random 'random /var/run/entropy.sock' random + st urandom 'random -u /var/run/entropy.sock' urandom fi st kbd 'symlink cons/kbd' kbd |