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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2006, 01:12 PM   #1
eviser
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat 9
Posts: 7

Rep: Reputation: 0
Disabling password expiration via useradd or usermod (or something else)?


Hey all, I just want to know of a way to disable password expiration for a user account via a terminal, rather than from the UI of Red Hat 9 (I'm using PuTTy-SSH).

I've checked over the man pages for both useradd and usermod, but can't seem to find anything concrete on this matter.

Any ideas?
 
Old 05-31-2006, 01:18 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
check out 'man passwd'. there are options you can use with the command to set the min and max password lifetime.
 
Old 05-31-2006, 01:53 PM   #3
eviser
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nadroj
check out 'man passwd'. there are options you can use with the command to set the min and max password lifetime.
Duh.. I didn't even think about that... I'll check it out, thanks!
 
  


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
usermod and useradd problem kenji Linux - Newbie 4 02-23-2005 11:10 AM
usermod / useradd ? bibilit Linux - Software 1 12-19-2003 02:16 AM
/etc/shadow and useradd -p usermod -p granny Linux - Security 3 08-29-2003 12:24 AM
Password expiration - help klmn1 Linux - General 1 12-30-2002 11:04 PM
Password expiration klmn1 Linux - Networking 1 12-26-2002 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 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
Open Source Consulting | Domain Registration