LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-26-2007, 07:10 PM   #1
lt_wentoncha
Member
 
Registered: Apr 2005
Posts: 42

Rep: Reputation: 15
Expired user account?


Hi all,

Runnins SuSE 9.2

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 account's 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).

So, how do I fix this? TYIA for the help.
 
Old 04-26-2007, 08:15 PM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
using this command as root
passwd -h

you have option to unlock, and trouble shooting (I feel easier than yast).
At the same time, preview the content of /etc/passwd and /etc/shadow everytime after you change particular setting.
 
Old 04-26-2007, 11:34 PM   #3
lt_wentoncha
Member
 
Registered: Apr 2005
Posts: 42

Original Poster
Rep: Reputation: 15
Hmmm, when I try to run "passwd -u [user account]" as root, I get a "Cannot unlock the password for [`user account']!" error. I can't change the password, and when I run passwd -h I get "Password changed". I'm wondering if my tinkering with YaST bolloxed things up. Any other advice would be most appreciated (btw, when setting up new accounts how do I avoid this in the future?).
 
  


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
root account expired The helpless one Linux - Newbie 4 03-11-2006 12:27 PM
user account expired ??? rahimzai Red Hat 3 10-10-2005 05:03 AM
root account expired TastyWheat Linux - Security 7 09-14-2004 08:47 AM
Re-enable an expired account xcoach Linux - Newbie 0 04-16-2004 10:39 AM
.... Can More Login - Account Expired (help!) Beuzekom Linux - Newbie 11 10-08-2003 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:15 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