Explorar el Código

[doc] Shell app setuid utility should be owned by root

Romain Rigaux hace 13 años
padre
commit
8a8f225910
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  1. 2 0
      dist/README
  2. 4 1
      docs/manual.txt

+ 2 - 0
dist/README

@@ -6,6 +6,8 @@ for more details.
 
 ## Install
 $ PREFIX=/usr/share make install
+$ sudo chmod 4750 $PREFIX/hue/apps/shell/src/shell/build/setui
+$ sudo chown root:$USER $PREFIX/hue/apps/shell/src/shell/build/setui
 
 ## Install plug-ins
 $ cd /usr/lib/hadoop-0.20-mapreduce/lib

+ 4 - 1
docs/manual.txt

@@ -89,10 +89,13 @@ Configure `$PREFIX` with the path where you want to install Hue by running:
   $ PREFIX=/usr/share make install
   $ cd /usr/share/hue
   $ sudo chmod 4750 apps/shell/src/shell/build/setuid
+  $ sudo chown root:$USER apps/shell/src/shell/build/setuid
 
 You can install Hue anywhere on your system, and run Hue as a non-root user.
 The Shell application needs root privileges to launch various sub-processes as
-the logged in users.
+the logged in users. `$USER` should be the group of the user running Hue (same as
+its username).
+
 It is a good practice to create a new user for Hue and either install Hue in
 that user's home directory, or in a directory within `/usr/share`.