Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to set password expiration date ( SOLARIS)

Posted on 2011-09-30
1
832 Views
Last Modified: 2013-12-27
Hi, I would like to set a password expiration date for a specific user.
0
Comment
Question by:cismoney
1 Comment
 
LVL 11

Accepted Solution

by:
jgiordano earned 500 total points
ID: 36892265
System Wide -

under /etc/default

#vi passwd

#ident "@(#)passwd.dfl 1.3 92/07/14 SMI"
MAXWEEKS=8
MINWEEKS=
PASSLENGTH=8
WARNWEEKS=6


Per user -

passwd -x -1 <user_name>


the -1 will turn it off put in the number you want
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
remove a combination of patterns from a file 15 70
Unix How to Bulk Remove Multiple Directories from FileSystem 10 78
Unix Question 19 50
Sed question 2 100
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question