The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
password expiration abdulaziz SUN Solaris 3 01-11-2008 04:23 AM
"trap" password expiration message MizzGail UNIX for Dummies Questions & Answers 2 03-24-2006 08:50 AM
Password Expiration Days Needed raj_vkr AIX 0 10-19-2005 12:32 AM
UNIX ID Password Expiration tads98 HP-UX 2 08-15-2005 01:20 AM
Password expiration warning. sureshy UNIX for Dummies Questions & Answers 1 03-18-2005 11:05 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-18-2005
raj_vkr raj_vkr is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 3
Password Expiration Days Required

Hi all,

I need to get the Unix "password Expiration Days".
I know that "shadow" file contains this information. But shadow file can only be read by root.

Note that password expiration date will be set differently for diferrent user accounts. I need to get the inormation for the currently logged in user account.

Is there any way to get the details.
I need some help at the earliest.
Please help me in this regard.
  #2 (permalink)  
Old 10-18-2005
sysera sysera is offline
Registered User
  
 

Join Date: Feb 2004
Posts: 92
Quote:
Originally Posted by raj_vkr
Hi all,

I need to get the Unix "password Expiration Days".
I know that "shadow" file contains this information. But shadow file can only be read by root.

Note that password expiration date will be set differently for diferrent user accounts. I need to get the inormation for the currently logged in user account.

Is there any way to get the details.
I need some help at the earliest.
Please help me in this regard.
Which OS are you using?
  #3 (permalink)  
Old 10-18-2005
raj_vkr raj_vkr is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 3
The OS is AIX
  #4 (permalink)  
Old 10-18-2005
sysera sysera is offline
Registered User
  
 

Join Date: Feb 2004
Posts: 92
Quote:
Originally Posted by raj_vkr
The OS is AIX
For AIX I would normally use "logins -a", but you are saying you'd like to be able to extract this information for the current user, and I'm assuming they aren't root.

This is I'm not sure of. Perhaps someone else will have a clever suggestion.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0