Browse files

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

  • Loading branch information...
1 parent e3e7fd8 commit 8a8f22591039427646285fecf539b4dc943d0693 @romainr romainr committed Nov 19, 2012
Showing with 6 additions and 1 deletion.
  1. +2 −0 dist/README
  2. +4 −1 docs/manual.txt
@@ -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
@@ -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`.

0 comments on commit 8a8f225

Please sign in to comment.