can't launch programs as root
Hi all
In Suse 9.1 Pro, I can only start programs (from konsole) as normal user. If I, for example, try to run amarok as root, I get 'bash: amarok: command not found'. As normal user, it's no problem. This is quite annoying because if I want to edit a file with 'kate', I must start is as normal user, but then I don't have permission to change anything in the files I open. Also, I'm trying to install pango-1.8.0 for the moment. At the beginning of the install, it tries to run the command 'glib-mkenums'. I run the compilation as root, so it says it can't find that command. I can run it as normal user, but then it says I don't have permission to execute this. So, basically, I can't install this program (and many others) , unless I can make sure root finds all it commands, like the normal user does. Can anyone help me out. I guess it has something to do with the PATH or the shells. Thx in advance. |
SuSE requires you to use
Code:
sux -c command |
I've just tried this, but it doesn't work. 'Command not found', it says.
|
voidwhereprohibitedbylaw
I did not try this sux -c method.. as I did not know about it at the time, but I too was having difficulty compiling PANGO 1.8.0 and getting the glib-mkenums problem, having SuSE 9.2 professional. I was using the regular su command to act as root. I logged off of my regular user entirely and logged into my root user and tried it and was successful in compiling pango.
|
All times are GMT -5. The time now is 04:56 AM. |