LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2003, 01:42 AM   #1
leroux
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
Smile Userhelper must be setuid root


Hi

I''m suddenly getting an error message in KDE3 saying "Insufficient Rights" when I try to execute any program that requires root access. I've tried SU to root and then run a program, but the error keeps popping up.
When I go > su root redhat-config-services it actually prompts for the root password but then fails with an error saying "unable to execute binary file..."

I have not reinstalled or done anything out of the ordinary.
Any ideas?
 
Old 11-07-2003, 01:45 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
try the commands seperately.

1. su
<enter root password>
2. redhat-config-services

edit:
also check the permissions and see if those processes are really infact links to console helper. i found that for me, if i set the permissions of just one of those links to console-helper then everything else that linked to console helper would fail to even bring up a root password prompt if i tried to run them. that was in the gui, i'm not sure what would the response would be in the shell terminal.

Last edited by megaspaz; 11-07-2003 at 01:54 AM.
 
Old 11-07-2003, 01:51 AM   #3
leroux
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I have already tried that, but it doesn't make a difference.
Even if I log into X as root and then try to execute the programs it won't work..insufficient rights
 
Old 11-07-2003, 01:55 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
actually, i edited my post. but what distro are you running? sorry my edit was assuming red hat.
 
Old 11-07-2003, 02:08 AM   #5
leroux
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
redhat 9 running on an intel pentium 2 333mhz
 
Old 11-07-2003, 02:15 AM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by leroux
redhat 9 running on an intel pentium 2 333mhz
try:

whereis consolehelper

cd to that directory. ie. if the output is /usr/bin/consolehelper, cd to /usr/bin

and then:

ls -l consolehelper

look at the permissions. see if it's at least rwx-rwx-r-x

other than that, if you're still getting permission denied or unable to execute binary, then i'm at a loss. sorry about that.
 
Old 11-07-2003, 02:18 AM   #7
leroux
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
thanx for you help, i'll give it a try...
 
Old 11-07-2003, 02:31 AM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
i just thought of something. your topic title, is that part of your error message?

do a:

ls -l /usr/sbin/userhelper

on my system the permissions are: rws - --x - --x

if it isn't like that, then try to open up your superuser filemanager. usually it's in kmenu > systems. navigate to /usr/sbin/userhelper and right click on the file and click the permissions tab. set the permissions for owner to read write, group to exec (could be enter) and other to exec (could be enter). then tick the box called Set UID which should be on the same line to the right of the owner's permissions.
 
Old 11-07-2003, 02:52 AM   #9
leroux
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
i'll give it a try....I just don't understand how something like this can just happen.The one moment it works fine, the next nothing works...
 
Old 03-10-2005, 01:42 AM   #10
Chameleon
LQ Newbie
 
Registered: Nov 2002
Posts: 22

Rep: Reputation: 15
Just wanted to say thanks... This solution helped me fix a problem I caused on my Fedora Core 3 machine when I was hacking tired. I stupidly issued this command:
Code:
chown -R paul:users /usr
Which, even after I fixed the permissions by comparing to another system, I still would get "Insufficient rights." when trying to run an application requiring root permissions via a menu entry.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorry, sudo must be setuid root kurtdriver Fedora 6 10-22-2008 07:47 PM
How to setuid root abridge Linux - Newbie 4 04-06-2005 03:59 PM
Bash script to email setuid root files deoren LinuxQuestions.org Member Success Stories 1 01-30-2005 09:56 AM
setuid programs hang when run by non-root users in RH9 jbkrash Red Hat 0 09-21-2004 01:17 PM
smbmnt - setuid root harperonline Linux - General 1 11-16-2003 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration