problem with terminal
hi everyone! I'm using fedora-11. Initially while doing the terminal part it used to come like this- [software@localhost ~]$,,,, then i used to give the password and enter the root. Here my username is software. Then i changed the ownership from root to software, so that i don't have to give the password each time. BUT NOW when i am giving su and entering the password it is showing INCORRECT PASSWORD. I don't know what has happened. Can some one help me please??
|
we can't understand your problem...
you some how changed the root password and forgot tat i guess... go to single usermode or rescue mode to reset the root password ... for password less login i dont think you need to change the ownership but use this Code:
passwd -d username |
thanx. But i haven't changed the password, i restarted using the same password, but in the terminal part when i'm giving su and then password it is showing incorrect password. i don't know what has happened. Help :(,
|
explain your problem not able to get your problem?
can u login in root from CLI not GUI |
Quote:
|
To the OP: Have you already added yourself to /etc/sudoers? If so, you can easily use sudo to reconfigure the root password:
Code:
sudo passwd |
You could also, as soon as the computer turns on, press <Esc> to get to the GRUB boot menu and press 'e' to edit the default boot option. At the end of the string, type:
Code:
init=/bin/bash Code:
passwd |
hi prayag_pjs. Actually i'm not able to login from CLI, that's what i'm tring to say. Though while restarting i'm giving the same password, but i'm not able to use the same password while in terminal(CLI).
|
Quote:
chown -hR root /u Changes the owner of /u and subfiles to "root", is it o.k? |
Quote:
hi Kenny! well actually i'm new to linux. So the thing about sudo, i don't know it yet. That u told - "/etc/sudoers",,,,, well how to do it? |
As I said before, reboot, press <Esc> to get a GRUB menu, and then press 'e' to edit the boot options, appending 'init=/bin/bash' to the end of the string. This will get you to a root shell
right after the kernel loads, from which you can type: Code:
passwd Also: If passwd tells you to enter a current password, just press 'Enter' to abort and type 'passwd -d' before continuing. |
let me guess wat u r doing
You have root user and you say you know its password right? Then you login as normal user say john in GUI when system starts and you are able to login successfully .. right? then you open the terminal and do this $su - and the password you are providing is for root and it says password incorrect ... is this the scenario??? do let us know to add yourself to sudoers list do this (as root you have to do this) Code:
visudo Code:
john ALL=(ALL) NOPASSWD: ALL |
I think his experiencing the same problem I had before.. Well, I try to configure it to the best of my knowledge and by reading some articles and forums in the web.. but it result in nothing, so i just install a new root directory :) just sharing my exp. ^^
|
Quote:
|
Hi Do this;
Restart your Linux system Press ctrl+alt+f2 you will get black and white screen with login option there try to login as root and put the password which you think you remember... let us know if you can login... also login as your normal user and let us know if you can login... |
All times are GMT -5. The time now is 09:05 AM. |