LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-18-2003, 11:11 AM   #1
DoubleM
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Rep: Reputation: 0
Angry root has lost its rights


I have Redhat 8.0 running on a Compaq Presario. Somewhere in the last couple of days, the "root" user has lost the ability to run any program which requires administrative rights. I first noticed it when attempting to install an rpm. Whether using the GUI or from a command line, the rpm command doesn't do anything, but doesn't produce an error message either. Further exploration reveals that any command requiring administrative rights won't run. For example, I can't run the Redhat Package Manager, can't adminster users, view system logs, etc. The symptoms are the same for all programs - there's no error message, but nothing happens when trying to run the program.

What happened? How do I fix it?

Thanks,
Mike
 
Old 03-18-2003, 01:16 PM   #2
maxspeed
Member
 
Registered: Mar 2003
Posts: 41

Rep: Reputation: 15
in the terminal type id if you get this just restart your computer.

uid=0(root) gid=0(root) groups=0(root)

am telling you to do this because i have noticed that rpm and acouple of other programs seem to hang when your computer has been up for an ammount of days.

Last edited by maxspeed; 03-18-2003 at 01:17 PM.
 
Old 03-19-2003, 08:41 AM   #3
DoubleM
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Rebooting doesn't help. Neither does turning off computer and starting from scratch. Something must be messed up in the configuration files, but I have no idea what.

Mike
 
Old 03-19-2003, 03:10 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
Boot of cd, mount your /, cd /etc
and edit your passwd ... check whether
roots uid is still 0 ...

Cheers,
Tink
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 08:17 PM
Root/User rights to Root commands? mrde50garfield Linux - Software 2 10-24-2006 06:42 AM
Linux root rights dstjames Linux - Security 3 07-24-2004 06:27 AM
Lost Mout Rights..... ARGH SIR_Taco Linux - General 6 02-14-2003 04:36 PM
root rights tfrye Linux - Security 1 12-20-2000 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration