John Pettigrew
In a previous message, expatriate
wrote: When I [snip] become root, seem that the superuser cannot find the same program, and if I type all the path /opt/.../gedit by example refuse to find the X display. Any hint to set the su to "work fine" as my user?
Type "echo $PATH" in each environment to see what they are.
I have a similar problem - I can run apps OK from su, not using sux or gnomesu. This is a pain.
Which file do I need to alter to get the paths right for sux/gnomesu (given that su is already OK)?
TiA
John --
John, you say that "su is already OK", do I am not sure what your problem is, but when i change to "root", i usually do "sux -" which using expatriate's "echo $PATH" puts some 16 directories in my path, versus only 5 when I do "su". YMMV. HTH, Gar -- In the Beginning was the Command Line ---Neal Stephenson -- __________________________________________________________________ New! Unlimited Netscape Internet Service. Only $9.95 a month -- Sign up today at http://isp.netscape.com/register Act now to get a personalized email address! Netscape. Just the Net You Need.