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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-07-2003, 01:42 AM
|
#1
|
LQ Newbie
Registered: Nov 2003
Posts: 8
Rep:
|
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?
|
|
|
11-07-2003, 01:45 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
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.
|
|
|
11-07-2003, 01:51 AM
|
#3
|
LQ Newbie
Registered: Nov 2003
Posts: 8
Original Poster
Rep:
|
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
|
|
|
11-07-2003, 01:55 AM
|
#4
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
actually, i edited my post. but what distro are you running? sorry my edit was assuming red hat.
|
|
|
11-07-2003, 02:08 AM
|
#5
|
LQ Newbie
Registered: Nov 2003
Posts: 8
Original Poster
Rep:
|
redhat 9 running on an intel pentium 2 333mhz
|
|
|
11-07-2003, 02:15 AM
|
#6
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
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.
|
|
|
11-07-2003, 02:18 AM
|
#7
|
LQ Newbie
Registered: Nov 2003
Posts: 8
Original Poster
Rep:
|
thanx for you help, i'll give it a try...
|
|
|
11-07-2003, 02:31 AM
|
#8
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
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.
|
|
|
11-07-2003, 02:52 AM
|
#9
|
LQ Newbie
Registered: Nov 2003
Posts: 8
Original Poster
Rep:
|
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...
|
|
|
03-10-2005, 01:42 AM
|
#10
|
LQ Newbie
Registered: Nov 2002
Posts: 22
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|