Victor... Works great thanks..
Some of my perl scripts only work *as designed* when you are root...
As yes i know it's not a good idea running around as root.. I've experienced
some of the reasons why you shouldn't... :shock:
Thanks all for the help...
Joe
]]>All,
I have a personal preference for the su actions..
When I enter "su" from a user and then "cd".. I goto roots homedir..
Why can't "cd" goto that users homedir and not root..
I see "su -" also has the same effect (of course you take roots perms)...
TIA,
Joe
try su -m instead
]]>When I enter "su" from a user and then "cd".. I goto roots homedir..
Why can't "cd" goto that users homedir and not root..
Because after you su, you ARE root.
Take a look at something like sudo if you need to run a command as root.
*puts on security hat* You shouldn't really be running around your system as root much anyway.
]]>I have a personal preference for the su actions..
When I enter "su" from a user and then "cd".. I goto roots homedir..
Why can't "cd" goto that users homedir and not root..
I see "su -" also has the same effect (of course you take roots perms)...
TIA,
Joe
]]>