LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-20-2010, 11:59 AM   #1
JustOnePixel
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Authentication failure for root logins (Fedora 12)


Hey everyone,

I just got Fedora 12, and I used su root to change the bin ownership to my primary developer account. For some reason, though, all subsequent attempts to log in as root have had authentication failure, be it through su or through the startup login screen. This does NOT occur for adminstrator tools such as Groups and Users. Any ideas why this might be happening?
 
Old 01-20-2010, 03:55 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
or through the startup login screen.
root login in fedora AND Gnome have been disabled on BOTH for the GUI
login as a normal user and use "su -" in the terminal

fedora DOSE need you to use " su -" and NOT " su " to use the root account .This is VERY well documented in the fedora docs
http://docs.fedoraproject.org/
 
Old 01-20-2010, 04:40 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Don't change that ownership. If your 'primary dev' acct needs access, add that to his $PATH and/or add him to the relevant group.
You'll want this to reset the perms correctly: http://www.cyberciti.biz/tips/reset-...ermission.html
 
Old 01-20-2010, 06:16 PM   #4
JustOnePixel
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hey everyone,

I've tried su -, and I'm still getting denied access with the right password. Any thoughts?
 
Old 01-20-2010, 07:15 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I just got Fedora 12, and I used su root to change the bin ownership to my primary developer account
What exactly did you do , to do this . Please post what you did.
 
Old 01-20-2010, 11:10 PM   #6
JustOnePixel
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I did the following to change permissions:

Code:
su root  //Now I know that was a bad move!
chmod 775 /bin
The plot thickens, though: I reformatted the computer, and logged in as root again (this was before I posted the question.) This time, I didn't edit anything (just
Code:
su
'd into the computer), and then logged out. Interestingly, I was locked out of both
Code:
su root
and
Code:
su -
. What should I do to correct this, short of rebooting the whole machine?
 
Old 01-21-2010, 04:36 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you did this " chmod 775 /bin "
then you will need to reinstall fedora 12
you FUBAR'ed the operating system
 
Old 01-21-2010, 05:15 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Why did you do "chmod 775 /bin"? What were you trying to achieve?

Evo2.
 
Old 01-21-2010, 08:42 AM   #9
JustOnePixel
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Bahaha, oops. Well, that was silly.

@Evo2: I was trying to allow myself to write to /bin because I was having trouble installing to it. So that won't be happening again...

Anyway, thanks everyone for helping out a true moron. I really appreciate 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
[SOLVED] Cronjob: Could not authenticate PAM user ... Authentication failure (for root?!?) JZL240I-U Linux - Security 11 03-14-2019 01:05 PM
su root authentication failure exodist Linux - Software 9 08-06-2011 02:31 PM
su root: authentication failure (password correct) scs_24 Linux - Newbie 3 12-12-2009 01:07 AM
SSH will not allow root logins paidbythehour Solaris / OpenSolaris 13 08-14-2009 08:32 AM
Only root logins allowed?? rakamaka Linux - Software 4 10-12-2006 10:51 AM

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

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