LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-16-2005, 04:18 AM   #1
Error1312
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 140

Rep: Reputation: 15
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.
 
Old 01-16-2005, 07:35 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 65
SuSE requires you to use
Code:
sux -c command
rather than su. This will keep certain environment variables that you need to use to run programs as root with SuSE's security settings.
 
Old 01-16-2005, 07:59 AM   #3
Error1312
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 140

Original Poster
Rep: Reputation: 15
I've just tried this, but it doesn't work. 'Command not found', it says.
 
Old 02-10-2005, 11:28 AM   #4
vwpbl
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto launch programs at login desmondtm Linux - Newbie 1 12-01-2005 04:51 PM
Scripting help. How to launch 2+ programs simultaneously. ColKurtz Linux - Newbie 2 02-18-2005 06:14 PM
programs attempt to launch twice mgmcc Linux - Newbie 13 01-10-2005 09:14 AM
how to launch programs on internet connect? zeedoo Linux - Software 4 07-12-2004 04:08 PM
How to launch new programs ? mdcooper Linux - Newbie 3 03-04-2003 10:34 AM


All times are GMT -5. The time now is 01:22 PM.

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