LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2004, 02:30 PM   #1
chumley115
LQ Newbie
 
Registered: Feb 2004
Location: Oregon
Distribution: Mandrake 9.2
Posts: 28

Rep: Reputation: 15
Newbie screwed up and can't log as root anymore


Newbie needs help. You've heard that one before, I'll bet. Where do all these people
come from. Oh well, I keep trying and I now have a somewhat serious problem.
I am running Mandrake 9.2 and I was trying to access a file (I don't remember what file
now, but I got the message saying that I did not have permission to the file.)
Rather than log in as root (I think, it was late and I was tired...how many times have you
heard that one?) anyway I tried to change the permissions of all my files using chmod
under my user name and not root and that didn't work and so then I tried su and I got the following: su: warning cannot set groups: operation not permitted. I thought that was
strange so I tried su again and this time I got the following:
su: warning cannot change directory to /rootermission denied
su: cannot set groups: operation not permitted

I am the only one that uses this computer and want to have full access to it, but I can't
even access root anymore. I tried to find a file that was altered about the time that all of
the above was going on, but I couldn't find it and even if I did, I probably wouldn't be
allowed to access it anyway.

Sooooo, I know there is a fix but is it easier than reinstalling 9.2?
Thanks for listening.
 
Old 03-12-2004, 02:34 PM   #2
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
type
linux single user
at the lilo boot loader.

run searches on this site and or google on how to access this if you run into problems
 
Old 03-12-2004, 02:52 PM   #3
chumley115
LQ Newbie
 
Registered: Feb 2004
Location: Oregon
Distribution: Mandrake 9.2
Posts: 28

Original Poster
Rep: Reputation: 15
I am dual booting with XP and I get the lilo box to choose between XP and Linux and
I am not sure where I am supposed to type what you said to type.
Thanks for your Immediate response. I appreciate it.
 
Old 03-12-2004, 03:20 PM   #4
mgatny
Member
 
Registered: Mar 2004
Posts: 41

Rep: Reputation: 15
Depending on your setup, you probably need to hit TAB or CTRL+X when you see the boot menu to bring up the "boot:" command prompt.

Hitting TAB at the "boot:" command prompt will show you the different labels you can boot, for example:

Linux Windows_XP Memtest
boot:

So if yours was "Linux", your would type:

Linux single

at the "boot:" prompt. If the kernel you want has the "restricted" option set in lilo.conf, you will have to boot a rescue disk, mount your hard disk, chroot to your hard disk, edit lilo.conf, run lilo, reboot from the hard disk... more on that later if you run into it.
 
  


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
newbie > root can log in to a gui, users suddenly can't Influx Slackware 18 10-09-2005 11:09 AM
I can't log in anymore! DJOtaku Linux - Software 4 08-06-2005 08:37 PM
keyboard screwed up - how do i log in? pfunk Linux - Newbie 4 12-06-2004 05:00 AM
complete newbie...how do you log in as root? PhantomGhost Linux - Newbie 4 05-16-2004 03:10 PM
HELP!!, Can't login anymore because I screwed up network config ern_day Linux - Newbie 5 07-14-2003 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:50 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