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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-18-2012, 03:54 PM
|
#1
|
Member
Registered: May 2012
Posts: 30
Rep: 
|
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
|
|
|
07-18-2012, 04:04 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
07-18-2012, 04:10 PM
|
#3
|
Member
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179
Rep:
|
Quote:
Originally Posted by TobiSGD
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.
|
|
|
07-18-2012, 07:21 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,605
|
Quote:
Originally Posted by nadia_kh
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
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???
|
|
|
07-19-2012, 04:45 AM
|
#5
|
Member
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179
Rep:
|
Quote:
Originally Posted by TB0ne
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/
|
|
|
07-19-2012, 05:41 AM
|
#6
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by sharadchhetri
|
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.
|
|
|
07-19-2012, 05:55 AM
|
#7
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,002
|
he/she can boot from a CD and restore permissions
|
|
|
07-19-2012, 07:22 AM
|
#8
|
Senior Member
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
|
Quote:
Originally Posted by nadia_kh
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 07:24 AM.
|
|
|
07-19-2012, 08:13 AM
|
#9
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
I've done similar things before by accident when I was first starting. It was almost always followed by a format and reinstall.
|
|
|
07-19-2012, 08:21 AM
|
#10
|
Member
Registered: May 2012
Posts: 30
Original Poster
Rep: 
|
Quote:
Originally Posted by suicidaleggroll
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
|
|
|
All times are GMT -5. The time now is 02:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|