Skip to content

Commit

Permalink
[doc] Shell app setuid utility should be owned by root
Browse files Browse the repository at this point in the history
  • Loading branch information
romainr committed Nov 20, 2012
1 parent e3e7fd8 commit 8a8f225
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dist/README
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ for more details.


## Install ## Install
$ PREFIX=/usr/share make 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 ## Install plug-ins
$ cd /usr/lib/hadoop-0.20-mapreduce/lib $ cd /usr/lib/hadoop-0.20-mapreduce/lib
Expand Down
5 changes: 4 additions & 1 deletion docs/manual.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -89,10 +89,13 @@ Configure `$PREFIX` with the path where you want to install Hue by running:
$ PREFIX=/usr/share make install $ PREFIX=/usr/share make install
$ cd /usr/share/hue $ cd /usr/share/hue
$ sudo chmod 4750 apps/shell/src/shell/build/setuid $ 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. 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 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 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`. that user's home directory, or in a directory within `/usr/share`.


Expand Down

0 comments on commit 8a8f225

Please sign in to comment.