[svlug] Paths broken as root

Ray Olszewski ray at comarre.com
Sun Nov 22 17:10:40 PST 1998


Try "man su". The man page for su on my system (Slackware 3.4) says that the
environment doesn't get created in the way you are assuming. To get a
"normal" environment after an su switch, it says to do the command as

su -

Read your man page for additional details.

At 12:59 AM 11/23/98 +0000, aaronl at vitelus.com wrote:
[deleted]
>This works fine as a normal user, but not as root. This is ilustrated in
>the example below, where I try to run wget, which resides in
>/usr/local/bin, before and after a su:
[deleted]

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.321.3561 voice     650.322.1209 fax          ray at comarre.com        
----------------------------------------------------------------


--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
see http://www.svlug.org/mdstuff/lists.shtml for posting guidelines.



More information about the svlug mailing list