LinuxQuestions.org
Register a domain and help support LQ
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 07-18-2012, 04:54 PM   #1
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Rep: Reputation: Disabled
Question the root password is correct but it don't work!!!!!!!


hello
i use fedora 15. i change the usr/local/bin permission with
Quote:
-chmod 777 /usr/local/bin
-chown -R nadia /usr local/bin
please don't ask why.

Now ,i can't login as root and the authentication failure message is appeared.
i login as nadia but when i type su and correct password it don't work and i see
Quote:
[nadia@Fedora-15 ~]$ su
Password:
su: incorrect password
please help me to solve this problem

thanks
 
Old 07-18-2012, 05:04 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Fedora 15 is end of life and unsupported. Save the time you would spent for recovery and make a fresh install of Fedora 17 instead.
 
Old 07-18-2012, 05:10 PM   #3
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
Quote:
Originally Posted by TobiSGD View Post
Fedora 15 is end of life and unsupported. Save the time you would spent for recovery and make a fresh install of Fedora 17 instead.
revert back to old settings and check again.
 
Old 07-18-2012, 08:21 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by nadia_kh View Post
hello
i use fedora 15. i change the usr/local/bin permission with please don't ask why.
Why NOT ask why?? That's not a good thing to do.
Quote:
Now ,i can't login as root and the authentication failure message is appeared. i login as nadia but when i type su and correct password it don't work and i see
You can try to boot into single-user mode, and change the permissions/ownership back, or you can boot from CD/DVD into rescue mode, and change it back from there.

Barring that, I'm with TobiSGD...Fedora 15 is old, and if it's broken, performing an upgrade/fresh install to 17 would be good thing.

---------- Post added 07-18-12 at 07:21 PM ----------

Quote:
Originally Posted by sharadchhetri View Post
revert back to old settings and check again.
How, exactly, would she do that, since she CANNOT get in as root to change things back???
 
Old 07-19-2012, 05:45 AM   #5
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
Quote:
Originally Posted by TB0ne View Post
Why NOT ask why?? That's not a good thing to do.

You can try to boot into single-user mode, and change the permissions/ownership back, or you can boot from CD/DVD into rescue mode, and change it back from there.

Barring that, I'm with TobiSGD...Fedora 15 is old, and if it's broken, performing an upgrade/fresh install to 17 would be good thing.

---------- Post added 07-18-12 at 07:21 PM ----------


How, exactly, would she do that, since she CANNOT get in as root to change things back???
hmmm, I had not second thought she knows this thing or not. thanks buddy.

For more convenience.
How to reset root passwd. read it from my blog link

http://sharadchhetri.com/2009/03/10/...n-run-level-1/
 
Old 07-19-2012, 06:41 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by sharadchhetri View Post
hmmm, I had not second thought she knows this thing or not. thanks buddy.

For more convenience.
How to reset root passwd. read it from my blog link

http://sharadchhetri.com/2009/03/10/...n-run-level-1/
This will not help either. The root password is already known, the OP is not able to become root because of borked owner settings in the bin directory.
 
Old 07-19-2012, 06:55 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
he/she can boot from a CD and restore permissions
 
Old 07-19-2012, 08:22 AM   #8
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: OpenBSD
Posts: 1,644
Blog Entries: 8

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
Quote:
Originally Posted by nadia_kh View Post
i change the usr/local/bin permission with

please don't ask why.
777 is a bad idea in almost all situations. It is a really bad idea with root directories.

Quote:
Now ,i can't login as root and the authentication failure message is appeared.
You are lucky. I made a similar mistake in my first one or to weeks using Linux. The result was not being able to boot the system. Directories that have root permissions have them for a reason. The best course of action is to follow TobiSGD's advice of up-grading to the current edition of Fedora and do not touch the permissions in your root directory.

Last edited by Randicus Draco Albus; 07-19-2012 at 08:24 AM.
 
Old 07-19-2012, 09:13 AM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
I've done similar things before by accident when I was first starting. It was almost always followed by a format and reinstall.
 
Old 07-19-2012, 09:21 AM   #10
nadia_kh
Member
 
Registered: May 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by suicidaleggroll View Post
I've done similar things before by accident when I was first starting. It was almost always followed by a format and reinstall.
i also remove the fedora and install it again and the problem is solved
 
  


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
su root: authentication failure (password correct) scs_24 Linux - Newbie 3 12-12-2009 02:07 AM
New system won't allow root after installation - using correct password and "root" kn2y Linux - Newbie 6 11-07-2008 08:52 PM
Lost root and don't know user password Suse 8.2 dprichard SUSE / openSUSE 3 10-18-2007 02:16 PM
i don't know my grub/root password Joe120 Linux - Newbie 7 01-25-2006 06:54 AM
Suse dontīt boot X; donīt ask for root passwd, YAST donīt work... carrie Linux - Newbie 4 10-08-2004 08:46 AM


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