Solved

AIX/Linux : User never to expire

Posted on 2013-12-04
3
4,861 Views
Last Modified: 2013-12-04
How to set a AIX & Linux user "oracle" password never to expire, What kind of setting I need to check to see this and what should I change. Please help
0
Comment
Question by:aanya247
[X]
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
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 39696310
AIX

show:

lsuser -a expires oracle

"0" means "never expire"

set:

chuser expires=0 oracle

Linux

show:

chage -l oracle

look for "Password Expires:"

set:

chage -I -1 -M 9999 -E -1 oracle
0
 
LVL 25

Assisted Solution

by:madunix
madunix earned 250 total points
ID: 39696314
By default passwords do not expire on user accounts. If an expiration date has been added to an account and wish to remove it use either the passwd or chage commands to change the maximum number of days between password changes to -1.

http://www.thegeekstuff.com/2009/04/chage-linux-password-expiration-and-aging/#more-459
https://access.redhat.com/site/articles/9507


# chage -l tommy
Minimum: 0
Maximum: 30
Warning: 7
Inactive: -1
Last Change: Nov 19, 2007
Password Expires: Dec 19, 2007
Password Inactive: Never
Account Expires: Never

# passwd -x -1 tommy
   -OR-
# chage -M -1 tommy

# chage -l tommy
Minimum: 0
Maximum: -1
Warning: 7
Inactive: -1
Last Change: Nov 19, 2007
Password Expires: Never
Password Inactive: Never
Account Expires: Never
0
 

Author Comment

by:aanya247
ID: 39696342
Thanks, I have another question on the same grounds, I will open another question
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
auto mounter on hp-ux 2 66
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 142
VMware machine is not booting 6 129
Enable SPF on IMSVA 6 67
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.
Suggested Courses

751 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