Hello all. I installed SuSE Linux 8.1 Professional on my home system yesterday afternoon. Today, I was able to login to my root password, then a bit later, I can no longer access root. I did typo several attempts to get into root from an su during an ssh session, so I'm wondering if: Is there some sort of mechanism that disables root access (even from console) after a certain number of failed attempts? If not, then is it reasonable to assume that either my file system was corrupted (although I haven't seen any evidence of this when ssh'd into my normal user account), or hacked? That asked, my understanding is the only way that one can reset the root password is by booting into a rescue system and modifying /etc/passwd. To do that, is it as simple as removing the 'x' between the :'s for the root line in that file? Thanks in advance!
That asked, my understanding is the only way that one can reset the root password is by booting into a rescue system and modifying /etc/passwd. To do that, is it as simple as removing the 'x' between the :'s for the root line in that file?
The file you are looking for is /etc/shadow, not /etc/passwd. I removed the crypted password when I had a problem like yours (forgotten password in my case). Praise
On Monday 11 November 2002 15:46, Jonathan Schmidt wrote:
Hello all.
I installed SuSE Linux 8.1 Professional on my home system yesterday afternoon. Today, I was able to login to my root password, then a bit later, I can no longer access root. I did typo several attempts to get into root from an su during an ssh session, so I'm wondering if:
Is there some sort of mechanism that disables root access (even from console) after a certain number of failed attempts? If not, then is it reasonable to assume that either my file system was corrupted (although I haven't seen any evidence of this when ssh'd into my normal user account), or hacked?
That asked, my understanding is the only way that one can reset the root password is by booting into a rescue system and modifying /etc/passwd. To do that, is it as simple as removing the 'x' between the :'s for the root line in that file?
In the SuSefaq, go to http://www.bmtsolutions.com/suse_faq/useradding.html and you will see step by step on how to reset the password for root. I am still learning and not sure of the first part of your email. I am sure all the other gurus will be able to answer the earlier part of you email. The only thing, I know is, if you can not log in as root, then either it got change by being hack or you possibly it is a typo ;-) , I do not think there is a mechanism, by default, that locks you out after so many attempts. But I am sure someone else will correct me on this. Bob
participants (3)
-
Bob
-
Jonathan Schmidt
-
Praise