LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-23-2004, 02:28 PM   #1
mikeghet
Member
 
Registered: Aug 2004
Location: USofA
Distribution: fedora core < SUSE
Posts: 70

Rep: Reputation: 15
the lovely recursive(-R) command


ok, stop laughing.

I ran the -R option with chmod on my /usr directory. No big deal in that everything works fine, except my 'system setting' options on the start menu. Basically the gui tools for adding user and group, printer, etc.

when i click on one of the tools i get 'insufficient rights'.


it seems as if the gui tools point to the /usr/sbin directory which has a link that points to /usr/share
and then each gui tool has its own folder in that directory, which I have access to since I ran:
Code:
 chmod a=rwx -R /usr

of course i can still use the shell tools for adding users, groups, etc, but it'd be nice to have the gui tools back without having to login as root.

any suggestions would be nice.
 
Old 12-23-2004, 03:08 PM   #2
mikeghet
Member
 
Registered: Aug 2004
Location: USofA
Distribution: fedora core < SUSE
Posts: 70

Original Poster
Rep: Reputation: 15
sorry

i thought I had searched this enough before posting, but i just found the fix on here so i'm good...









"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 12-23-2004, 03:26 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: the lovely recursive(-R) command

Quote:
Originally posted by mikeghet
[B]ok, stop laughing.

Code:
 chmod a=rwx -R /usr
I'm not laughing mate, I'm weeping... that's insane.
There's a GOOD reason for Linux NOT giving a
normal user the power to run administrative commands.


I'm sure that gnome (I assume that's what you're using since
it's deadrat/fc's default) has an equivalent of kdesu ...

Changing the perms in the way you did is one of
the most stupid actions I've ever seen.




Cheers,
Tink
 
Old 12-23-2004, 03:46 PM   #4
mikeghet
Member
 
Registered: Aug 2004
Location: USofA
Distribution: fedora core < SUSE
Posts: 70

Original Poster
Rep: Reputation: 15
well geese, thanks for you honest opinion.

i used the wrong history command by pressing the up arrow keys and then added the -R to it(lazy)...i started thinking..why the heck is it taking a few seconds to process..yeah, that's when i screamed.

i was supposed to give access to a folder for my freeciv saved games folder...


 
  


Reply



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
New system, fresh install, lovely display errors ;_; R00ts Debian 4 03-09-2005 02:40 AM
Recursive Query JMagana Linux - Software 1 12-01-2004 07:46 PM
My lovely programs ceviz Linux - Software 2 11-04-2004 04:23 PM
I miss my lovely GTK+ file selection melinda_sayang Slackware 0 07-12-2004 10:55 PM
rm -r what is recursive wogga Linux - Software 3 05-28-2004 02:29 PM

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

All times are GMT -5. The time now is 06:54 PM.

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