summaryrefslogtreecommitdiffstats
path: root/conf/redhat/no-chuser-0.15.1.patch
blob: e19bc7c62c0ac27e07740b7a8f3d15b365049547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- puppet-0.15.1/bin/puppetmasterd.orig	2006-03-15 08:33:45.000000000 -0800
+++ puppet-0.15.1/bin/puppetmasterd	2006-03-22 13:07:54.000000000 -0800
@@ -210,14 +210,15 @@
     exit(1)
 end
 
-if Process.uid == 0
-    begin
-        Puppet::Util.chuser
-    rescue => detail
-        $stderr.puts "Could not change user to %s: %s" % [Puppet[:user], detail]
-        exit(39)
-    end
-end
+# FIXME: Running as non-root is not ready for primetime
+# if Process.uid == 0
+#     begin
+#         Puppet::Util.chuser
+#     rescue => detail
+#         $stderr.puts "Could not change user to %s: %s" % [Puppet[:user], detail]
+#         exit(39)
+#     end
+# end
 
 if Puppet[:parseonly]
     # we would have already exited if the file weren't syntactically correct
--- puppet-0.15.1/bin/puppetca.orig	2006-02-07 15:12:39.000000000 -0800
+++ puppet-0.15.1/bin/puppetca	2006-03-22 13:07:56.000000000 -0800
@@ -138,7 +138,8 @@
 Puppet.genconfig
 Puppet.genmanifest
 
-Puppet::Util.chuser
+# FIXME: Running as non-root is not ready for primetime
+# Puppet::Util.chuser
 
 begin
     ca = Puppet::SSLCertificates::CA.new()