Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-13-2004, 09:34 AM   #1
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
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?

Old 11-13-2004, 09:47 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Sorry but I don't beleive that. What error do you get when you run:
echo I am root
Old 11-13-2004, 10:17 AM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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?
Old 11-15-2004, 12:55 PM   #4
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Original Poster
Rep: Reputation: 15
Yip, that was the problem. I should use su - not su.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
My processes with root priviledge SiLiCoN Linux - General 2 10-04-2004 05:57 AM
running processes as root naijaguy Linux - General 2 08-12-2004 05:54 PM
Preventing root processes... znapper Linux - Security 5 03-18-2004 01:18 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM
LimeWire installed as root, can't run if not root sulzla Linux - Newbie 1 07-01-2003 08:48 PM

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration