LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-09-2007, 11:28 PM   #1
as400
Member
 
Registered: Apr 2004
Location: USA
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596

Rep: Reputation: 30
How to change Password Aging in Sol-10?


Hello folks

I would like to know how to chnage the password aging for a user account only?

I would like to set it to 30 days intervals. And also, I would like the system to warn of password expiration 10 days before password expires.

How would I do that in Solaris 10 please?

thanks in advance.
 
Old 05-10-2007, 08:21 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
How to Set Password Aging on a User Account

http://docs.sun.com/app/docs/doc/817...hm8o5m5?a=view

Lots of good information at http://docs.sun.com just search.
 
Old 05-20-2007, 03:20 PM   #3
javier.e.menendez
Member
 
Registered: Jan 2006
Posts: 168

Rep: Reputation: 30
# passwd -x 30 -w 10 user_name
 
Old 05-21-2007, 12:50 PM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
modify /etc/default/passwd
modify the following:
MAXWEEKS=5
MINWEEKS=1
WARNWEEKS=2
 
  


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
Password Aging Ratclaws Linux - Security 2 09-15-2006 05:27 AM
password aging tariq_ned General 1 06-21-2006 10:23 AM
Password aging help szahri Linux - Newbie 5 03-23-2005 08:02 PM
Disable password aging check in MSEC Seube Mandriva 1 12-15-2004 09:39 PM
How do you implement password aging in samba? colpaarm Linux - Software 1 07-30-2003 10:37 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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