LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 09-08-2006, 10:19 AM   #1
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 100

Rep: Reputation: 16
Password Aging


I wanted to set my box to do the following automatically:
expire password after x days, warn user of expiring passwd after x days,
disable accounts after x days, etc.

I found the following url which showed everything i've already tried:
http://www.europe.redhat.com/documen...-cmd-line.php3

However i did notice that it says this is only effective for console
users, and does nothing for ssh users. That sounds like a microsoft idea.


How can I do this properly? (Without recommending ldap, that is a future
project).
 
Old 09-08-2006, 01:13 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
you probably misunderstood a statment there. If you use chage, it will be effective to that user, regardless of where he tries to login from.
 
Old 09-15-2006, 06:27 AM   #3
magnus.therning
LQ Newbie
 
Registered: Jul 2006
Location: Cambridge
Distribution: Debian
Posts: 21

Rep: Reputation: 0
Quote:
Originally Posted by w3bd3vil
you probably misunderstood a statment there. If you use chage, it will be effective to that user, regardless of where he tries to login from.
It's easy to be confused by their statement.

If the password has expired (chage -d 0 <user>) then loging in with SSH fails. It prompts for a password change, but I haven't been able to successfully provide a new one. So, using that particular procedure to force a user to change password on first login doesn't work if the user uses SSH to log in. he will simply not have access to his account until he logs in at a terminal.

Last edited by magnus.therning; 09-15-2006 at 06:32 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
password aging tariq_ned General 1 06-21-2006 11:23 AM
Photo Aging Software laceupboots Linux - Software 1 03-04-2006 08:59 AM
Password aging help szahri Linux - Newbie 5 03-23-2005 09:02 PM
Disable password aging check in MSEC Seube Mandriva 1 12-15-2004 10:39 PM
How do you implement password aging in samba? colpaarm Linux - Software 1 07-30-2003 11:37 AM


All times are GMT -5. The time now is 04:43 AM.

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