aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-11-11 22:15:08 +0100
committerintrigeri <intrigeri@boum.org>2012-11-11 22:15:08 +0100
commite24b353ad6d7e1a6cfec104f8946a4b0e9786a0d (patch)
treee7575b452769a94fd0962626c05ab3d068df4c15
parentb0d72fca2fef6b9db7c1d3f5b7100d6228766d8f (diff)
downloadpuppet-tor-e24b353ad6d7e1a6cfec104f8946a4b0e9786a0d.tar.gz
puppet-tor-e24b353ad6d7e1a6cfec104f8946a4b0e9786a0d.tar.bz2
Give the debian-tor user /bin/false as a shell.
This is the Debian package default, and I've never seen the need to give it a real shell.
-rw-r--r--manifests/daemon.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index bbf83dd..28b14d1 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -29,7 +29,7 @@ class tor::daemon (
comment => 'tor user,,,',
ensure => present,
home => "${data_dir}",
- shell => '/bin/bash',
+ shell => '/bin/false',
gid => 'debian-tor',
require => Group['debian-tor'],
}