]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
postinst: Remove the check that requires the debian-tor user to have a uid
authorPeter Palfrader <peter@palfrader.org>
Mon, 21 Jan 2008 14:44:56 +0000 (14:44 +0000)
committerPeter Palfrader <peter@palfrader.org>
Mon, 21 Jan 2008 14:44:56 +0000 (14:44 +0000)
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

debian/changelog
debian/tor.postinst

index 0b46dde0b12741d7ef73b50bec392f0173162911..764b316ca7d5e7e944b646ea679d3d9a6fe07761 100644 (file)
@@ -1,3 +1,12 @@
+tor (0.2.0.17-alpha-1+svn) experimental; urgency=low
+
+  * 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.
+
+ -- Peter Palfrader <weasel@debian.org>  Mon, 21 Jan 2008 15:43:52 +0100
+
 tor (0.2.0.17-alpha-1) experimental; urgency=low
 
   * New upstream version.
index 3224a32607c1199d0fd965a9edb782d0db83cd91..f39659c271880b43c7edefc6e3f7237e0e1c1a82 100644 (file)
@@ -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