various fies, change network
[distro-setup] / filesystem / etc / profile.d / environment.sh
index 6a1dff0d6c2d8500f2f0c2d6bcdd27e0b885027c..d91cde11069208606a797a4c76078c6ee812685c 100644 (file)
@@ -1,7 +1,7 @@
 if [ -f $HOME/path_add-function ]; then
     . $HOME/path_add-function
-    path_add /usr/sbin /usr/local/sbin /sbin
-    path_add /a/exe /a/opt/bin $HOME/.cabal/bin
+    path_add /usr/sbin /usr/local/sbin /sbin /a/exe /a/opt/bin
+    path_add --end $HOME/.cabal/bin
 
     if [ -r /etc/alternatives/java_sdk ]; then
         export JAVA_HOME=/etc/alternatives/java_sdk
@@ -60,6 +60,9 @@ fi
 # ubuntu has 002 for non-system users, debian has 022.  002 makes groups
 # be rw instead of r.
 #
+# I think the actual setting is somewhere in the pam settings, I haven't
+# bothered to figure that out.
+#
 # ubuntu is more user friendly when using multiple users. However,
 # it also makes it so if you create a file as a regular user then move
 # it to become a system file, it's got slightly wrong permissions, and