LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



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

Rep: Reputation: 15
Disabled Accounts


Hello,

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-02-2005, 12:23 AM   #2
freakyg
Member
 
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, 11:55 AM   #3
logicalfuzz
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291

Rep: Reputation: 41
the shortest way would be to edit the /etc/shadows file. it contains all the password info. Do
Code:
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
Code:
chage
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, 01:25 PM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,458

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


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 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 07:23 PM
qmail -- new accounts can't receive mail, but old accounts can b:z *BSD 1 07-13-2005 01:42 AM
su to disabled accounts? sat86 Linux - Security 1 01-24-2005 07:05 AM
Disabled accounts on the login screen! HELP!!!! Adeas Linux - Newbie 5 09-07-2003 09:19 PM
Disabled access to user accounts! HELP! Adeas Mandriva 2 09-07-2003 09:17 PM


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