Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-01-2005, 09:29 PM   #1
Registered: May 2004
Posts: 43

Rep: Reputation: 15
Disabled Accounts


I am running RH9 on a standalone machine. Two of my users are getting a screen saying that their account has expired/the administrator has disabled their account.

I am the administrator and i did no such thing. I know where to check if their account has been disabled in the Users and Groups utility, and it does not show that they are.

What could be causing this?

I did a fsck, but it showed no problems. Is there some other utility I can use to fix permissions or something?

Any help is appreciated, thanks.
Old 09-01-2005, 11:23 PM   #2
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
look at the /etc/login.defs file............
Old 09-02-2005, 10:55 AM   #3
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291

Rep: Reputation: 47
the shortest way would be to edit the /etc/shadows file. it contains all the password info. Do
man 5 shadow
to see the meaning of the fields in that file. you'll know for yourself what to change.
other ways is to use
see man page to change the age of password. as freakyg said the default login definations are refered to from /etc/login.defs file. so change the values in that file if you dont want such problems in future.
Old 09-02-2005, 12:25 PM   #4
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,445
Blog Entries: 4

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
Don't edit the shadow-file directly!

The standard Red Hat user-administration tools have, on one of their tabs, a quick and easy way to disable an account, impose password-change restrictions, and so on.

Never go mucking-about with the files that you depend upon to log-on the system, unless you know exactly what you are doing and there is no other way.

Umm, "been there done that."


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Root and all user accounts disabled mht17 Linux - Newbie 3 05-10-2011 06:23 PM
qmail -- new accounts can't receive mail, but old accounts can b:z *BSD 1 07-13-2005 12:42 AM
su to disabled accounts? sat86 Linux - Security 1 01-24-2005 06:05 AM
Disabled accounts on the login screen! HELP!!!! Adeas Linux - Newbie 5 09-07-2003 08:19 PM
Disabled access to user accounts! HELP! Adeas Mandriva 2 09-07-2003 08:17 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration