Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-02-2004, 10:04 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
unable to login due to login expiry

i have RH9 installed with ximian desktop.after making a few changes in the user account,shut down the system.after a while i wanted to re-login,but says account expired.both root as well as the seperate user account r expired.somebody plz tell me a way to retrieve back my user account as well as root account
Old 09-02-2004, 10:25 AM   #2
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
It looks like you will have to boot into single user mode (what some call Rescue Mode).

Once you get to the root prompt you type usermod -f -1 user to disable the expiration.
Old 09-02-2004, 11:50 AM   #3
LQ Newbie
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for ur help.i rebooted from the C.D,and enterred the rescue the prompt.typed the command usermod -f -1 root.but it says the following
-e and -f requires shadow passwords

wat am i suppose to do for that.

it goes back to the prompt.where am i suppose to enter the password


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
User login expiry date? geekgrl Linux - Security 7 07-04-2011 07:08 AM
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 09:01 AM
unable to login because no login prompt DX2 Linux - General 1 05-25-2005 01:33 PM
Unable to login Fireonyx Slackware 8 02-17-2005 05:01 PM
unable to login to mahcine due to errors with .gconf file in RH9 markhod Red Hat 0 04-14-2004 04:02 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:53 AM.

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