The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
domain expiry date learnbash Shell Programming and Scripting 6 05-22-2008 12:43 AM
How to find windows user without any password RPG Windows & DOS: Issues & Discussions 0 09-05-2007 10:35 PM
Emailing about password expiry for a user Awadhesh SUN Solaris 4 07-19-2007 03:52 AM
doubt regarding user password expiry in unix irshad UNIX for Advanced & Expert Users 2 02-05-2006 10:42 PM
password expiry big123456 UNIX for Advanced & Expert Users 2 01-14-2006 08:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2007
Registered User
 

Join Date: Apr 2007
Posts: 2
Find user password expiry date

Does anyone know a simple way to find out the expiry date of my UNIX user password?

I do not have root access to the box.

Surely there is a way to so this...
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-02-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,162
From man pages :
Quote:
-S This will output a short information about the status of the password for a given account. Available to root
user only.
Quote:
-w This will set the number of days in advance the user will begin receiving warnings that her password will
expire, if the user’s account supports password lifetimes. Available to root only.

-i This will set the number of days which will pass before an expired password for this account will be taken to
mean that the account is inactive and should be disabled, if the user’s account supports password lifetimes.
Available to root only.
Reply With Quote
  #3 (permalink)  
Old 04-02-2007
Registered User
 

Join Date: Apr 2007
Posts: 2
.... Thanks for replying. As previosly stated, I do not have root access. Thus, none of those switches are of any use to me.

Any other ideas or workarounds?

A bit more background on my situation.

I am accessing a box, which on logon is not setup to notify me when my password will expire.

On the weekend, my password expired, and as such my weekend cron jobs failed. (I can only assume that cron will not execute jobs as my user when my password is expired?)

I am hoping to write a simple script to notify me to change my password when it is about to expire.

Sort of requesting the root user to change something, is there any way to achieve this?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0