summaryrefslogtreecommitdiff
path: root/debian/tor.postinst
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-01-21 14:44:56 +0000
committerPeter Palfrader <peter@palfrader.org>2008-01-21 14:44:56 +0000
commitaa4f86dafa25e03fa5e2a17aa78e05bd0923664f (patch)
tree6c74212ba4a601c64e93da16d6515afaafb08d7b /debian/tor.postinst
parentff62154ba3cb79b4b38f937552fdced04d2d950d (diff)
downloadtor-aa4f86dafa25e03fa5e2a17aa78e05bd0923664f.tar.gz
tor-aa4f86dafa25e03fa5e2a17aa78e05bd0923664f.zip
postinst: Remove the check that requires the debian-tor user to have a uid
between 100 and 999. There is no good reason to require this. If the local admin moves the system users/uid-space to some other range then they probably have a good reason for that. svn:r13205
Diffstat (limited to 'debian/tor.postinst')
-rw-r--r--debian/tor.postinst9
1 files changed, 0 insertions, 9 deletions
diff --git a/debian/tor.postinst b/debian/tor.postinst
index 3224a32607..f39659c271 100644
--- a/debian/tor.postinst
+++ b/debian/tor.postinst
@@ -9,15 +9,6 @@ home=`getent passwd debian-tor | cut -d ":" -f 6`
# the sanit(ar)y checks otherwise we can safely create it.
if [ "$uid" ]; then
- # guess??? the checks!!!
- if [ $uid -ge 100 ] && [ $uid -le 999 ]; then
- echo "debian-tor uid check: ok"
- else
- echo "ERROR: debian-tor account has a non-system uid!"
- echo "Please check /usr/share/doc/tor/README.Debian on how to"
- echo "correct this problem"
- exit 1
- fi
if [ "$home" = "/var/lib/tor" ]; then
echo "debian-tor homedir check: ok"
else