LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-23-2003, 10:55 PM   #1
tulipysc
LQ Newbie
 
Registered: Sep 2003
Location: Malaysia
Distribution: RedHat
Posts: 7

Rep: Reputation: 0
Question 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". ???
 
Old 09-24-2003, 12:31 AM   #2
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
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
Xing
 
Old 09-24-2003, 01:04 AM   #3
tulipysc
LQ Newbie
 
Registered: Sep 2003
Location: Malaysia
Distribution: RedHat
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Xing
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
Xing
where is the xpiry option set?
i did wrote down the correct username and password, but still can't work.
 
Old 09-26-2003, 12:11 AM   #4
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
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
Xing
 
Old 09-28-2003, 07:44 PM   #5
tulipysc
LQ Newbie
 
Registered: Sep 2003
Location: Malaysia
Distribution: RedHat
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Xing
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
Xing
But I can't login to the system. My friend told me to format the PC, reinstall all thing and start again. Is that the only way?
 
Old 10-13-2003, 06:00 AM   #6
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
seems to be the only way ...
 
Old 10-14-2003, 12:54 AM   #7
tulipysc
LQ Newbie
 
Registered: Sep 2003
Location: Malaysia
Distribution: RedHat
Posts: 7

Original Poster
Rep: Reputation: 0
Solve!
My friend solve it. He copy one file to replace the original one then restart. It work.
Thank you for those helping me.
 
Old 04-25-2007, 04:53 AM   #8
lt_wentoncha
Member
 
Registered: Apr 2005
Posts: 42

Rep: Reputation: 15
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
 
Old 04-25-2007, 06:00 AM   #9
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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.
 
Old 04-25-2007, 07:29 PM   #10
lt_wentoncha
Member
 
Registered: Apr 2005
Posts: 42

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Expired Problem NCappaZoo Linux From Scratch 3 09-04-2005 02:25 AM
proftpd and expired passwords nIMBVS Slackware 1 01-17-2005 08:23 PM
My user login session in SUSE Linux 9.1 version gets expired every now and then umesh.tiwari Linux - Software 1 12-06-2004 04:16 AM
password expired rbchhan Fedora 2 08-09-2004 10:39 AM
.... Can More Login - Account Expired (help!) Beuzekom Linux - Newbie 11 10-08-2003 10:45 AM


All times are GMT -5. The time now is 07:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration