LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   I have to ssh -l root to run root processes!? (https://www.linuxquestions.org/questions/red-hat-31/i-have-to-ssh-l-root-to-run-root-processes-254321/)

paul.nel 11-13-2004 08:34 AM

I have to ssh -l root to run root processes!?
 
I am not able to run processes with root privilages by only switching users with su. I have to ssh -l root to be able to do this? Is this normal or am I doing something wrong?

p.n

david_ross 11-13-2004 08:47 AM

Sorry but I don't beleive that. What error do you get when you run:
echo I am root

trickykid 11-13-2004 09:17 AM

If your just using su to login as root.. use su - so it has root's full path.. or have you tried running the supposed root only command with the full path to the command?

paul.nel 11-15-2004 11:55 AM

Yip, that was the problem. I should use su - not su.

Tx
p.n


All times are GMT -5. The time now is 10:19 AM.