LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-04-2008, 10:27 AM   #1
villumanati
Member
 
Registered: Jun 2008
Posts: 48

Rep: Reputation: 15
Root password


I installed Fedora 9 on my Mac powerbook laptop but for some reason i can't login as root. I know exactly what the password is but the system keeps saying wrong password.

So then I reinstalled Fedora and carefully typed in the root password during setup. So even with a new install and the fact that i know what the password is i can't login.

Would someone tell me how to reset the root password on a powerbook Mac with Fedora 9 installed on it.
 
Old 06-04-2008, 11:04 AM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
I don't know if there is a Fedora-specific way to do this, but what I would do is boot into Linux using your install cd, mount the installed Linux environment, chroot into your installed environment, and then run passwd.
 
Old 06-04-2008, 11:17 AM   #3
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 505

Rep: Reputation: 36
Well, I don't know how to change the root password without logging in as root, but let me give you a suggestion. Next time when you install any OS, and you're being asked for a password (for any user!), do this:
1. When giving a user password: type the password to the username area. This way you will see if the typed and showed passwords are the same or not. Differences can occur when the default keyboard layout of the installer differs from your keyboard's layout.
2. When giving root password: before the root password dialog type your root password somewhere, where you can verify if the typed and shown passwords are the same.

With these you can avoid such problems.

Another thing you can try if you don't want to reinstall the system again:
Set the system keyboard layout back to the default it was during installation. After that try if the password works.
 
Old 06-04-2008, 12:33 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Trying to log into X ??
In fact it is never? necessary to log in as root...it is not recommended
...it is dangerous, you can destroy your system...unsafe...
I can also imagine that the default "SE Linux" is preventing it.
Please use 'su' instead, after logging in as 'user'

Rgds
 
Old 06-04-2008, 01:29 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
While I would recommend logging in as root as seldom as possible, I would not say never. You might want to try su - (su space dash) rather than just su. The dash gives you root's path. SeLinux does some strange things but I do not think we can blame this one on it.

The keyboard thing sounds reasonable to me. The only other thing I can think of is to be aware that Linux is case sensitive about everything (password is not the same as Password).

Last edited by lazlow; 06-04-2008 at 01:30 PM.
 
  


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
how to change root password without knowing the grub password ramesh.mimit Red Hat 8 10-15-2011 05:12 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Password Recovery in Edubuntu 7.04 - In Terminal, Root Login : su , password : ????? farhannaeem13 Linux - Security 3 11-30-2007 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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