not able to login to my redhat box as a user
Hi
I am not able to login to my RH9.0 system as a user.....ok I'll tell you the whole stuff I had created a username for one guy and then the next day I had changed the superuser password on this system.Now when I try to login as user I am getting the below message. "Your account has expired; please contact your system administrator su: incorrect password" su: incorrect password Does changing the superuser password after creating new user affect the login credentials in any way??I even googled but dint get proper answer..... plss help |
I have changed my root password several times, without affecting anything.
When you setup a new user it asks you for an expiry date. You have probably given something wrong here. |
The only thing I can think of is that you somehow set an expiry date on that account when you changed the password. Or that there is a default expiry date set in the adduser defaults.
From the error message you have provided it looks like you don't have root access. If not you can use your RH9 boot disk (disk 1) and use the linux rescue option. From there you can change the root password to gain control. To check if there is a default expiry value type adduser -D, that should display all defaults. I have changed the root password many times without anything like that happening. |
Quote:
|
Quote:
How to change the default expiry date? |
useradd -D will show you if you have any defaults.
To change the default expiry date (if you have one): useradd -D -e null |
Quote:
Thank u very much for ur help....meanwhile I had been doing some R&D and found a command called chage -E <expiry date> Username this also worked wonderfully.... and it got many options like chage [-m mindays] [-M maxdays] [-d lastday] [-I inactive] [-E expiredate] [-W warndays] user chage -l user this is used for changing password age of any user........ by the way Josh a small doubt for me again whats this???? Don't let the TCPA take away your freedom I was trying to click the link but I was getting page not found bye Sri |
Link is working fine for me.
The TCPA stands for the Trusted Computing Platform Alliance which is a group of computer companies which was founded in 1999 by Compaq, HP, IBM, Intel and Microsoft. There are now over 200 other companies with such big names as Adobe, AMD, Fujitsu-Siemens, Gateway, Motorola, Samsung, Toshiba and many others. The rest is best said by this quote from http://www.againsttcpa.com/what-is-tcpa.html Quote:
|
All times are GMT -5. The time now is 11:49 PM. |