Permalink
Browse files

Added solution to sudo changes PATH

  • Loading branch information...
1 parent 30c05d0 commit 30f6543d6e3d1b0d94917d4c6d5ccd158e2e805a @jnstq committed Jun 15, 2009
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.markdown
View
@@ -5,11 +5,16 @@ My notes on setting up a simple production server with ubuntu, nginx, passenger
Aliases
-------
-
- echo "alias ll='ls -l'" >> ~/.bash_aliases
+ echo "alias ll='ls -l'" >> ~/.bash_aliases
+
edit .bashrc and uncomment the loadig of .bash_aliases
+If you have trouble with PATH that changes when doing sudo, see http://stackoverflow.com/questions/257616/sudo-changes-path-why then add the following line to the same file
+
+ alias sudo='sudo env PATH=$PATH'
+
+
Update and upgrade the system
-------------------------------

0 comments on commit 30f6543

Please sign in to comment.