Login expired
Please help me.
I am using RH 9. Just installed last 3 days, when come to login interface I use the same username and password as I created during installation, it's OK. But now it display the message "User account has expired!". Then I try the admin login, message "Authentication failed". ??? |
u must have set the xpiry option while creating the user account...
and abt ur admin account.. u r defenitely goofing up on username/password.. admin is always enabled.. try to remember the spelling correctly... Regards |
Quote:
i did wrote down the correct username and password, but still can't work. |
check the preferences of a particular user and there is a "Account info " tab... expiry option is set over there ...
and if u r typing ur name and password correctly, there is no way u shud not login... Regards |
Quote:
|
seems to be the only way ...
|
Solve!
My friend solve it. He copy one file to replace the original one then restart. It work. Thank you for those helping me. |
Hi all,
I have the same problem, but with SuSE 9. I can't seem to figure out how to reactivate an expired account in YaST, although I'm not sure why this non-root account is disabled (especially since the "Disable account login" setting is unchecked). TYIA |
It would be pretty bad if one had to reinstall Linux simply because of a lost password. No, there are ways to set a new password or to change old ones but in this case they involve using the command line. I am not quite familiar with the RH procedure but I assume you would:
- start in single mode (=add "single" to your grub / lilo boot line) - from the command line, issue the passwd command, which will set a new root password Once you get that far, you can log in as root to set/change user passwords. Alternatively, you can set/change user password on the command line with adduser (or userradd) and passwd. |
Well as far as I can tell the account that I normally login/SSH as has expired (I can still login and SSH as root). I can change the accounts password with YaST, but regardless of what I set it to when I try to SSH as that user it says the user expired. Interestingly enough, when I'm logged in as root in shell, I can't run passwd to change that user's password; it says the account has expired (a message I do not get from YaST). Again, TYIA for the help.
|
All times are GMT -5. The time now is 08:51 PM. |