LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-02-2004, 09:04 AM   #1
niiha
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 couldnt.it 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, 09:25 AM   #2
serz
Member
 
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, 10:50 AM   #3
niiha
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 mode.got 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
 
  


Reply



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 06:08 AM
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
unable to login because no login prompt DX2 Linux - General 1 05-25-2005 12:33 PM
Unable to login Fireonyx Slackware 8 02-17-2005 04:01 PM
unable to login to mahcine due to errors with .gconf file in RH9 markhod Red Hat 0 04-14-2004 03:02 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration