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
password expiration abdulaziz SUN Solaris 3 01-11-2008 12:23 AM
"trap" password expiration message MizzGail UNIX for Dummies Questions & Answers 2 03-24-2006 04:50 AM
Password Expiration Days Needed raj_vkr AIX 0 10-18-2005 09:32 PM
Password Expiration Days Required raj_vkr UNIX for Advanced & Expert Users 3 10-18-2005 06:26 AM
UNIX ID Password Expiration tads98 HP-UX 2 08-14-2005 10:20 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2005
Registered User
 

Join Date: Sep 2001
Location: UK
Posts: 25
Password expiration warning.

Hi,

Anyone know the command which identifies how long a user has before their password expires?

I also need to know how I would write and expr to calculate the difference between 2 dates.

e.g. 28/03/05 - 18/03/05 = 10

I was told there is a date function which shows you no of days since the day dot (Julian Calender?), is this true as I can't see it in the man pages.

This would be a great help.

Thanks
__________________
All I wanna o is live like the kings do.
All I wanna be is smarter than my enemy.
All I wanna have is everythng I haven't got.
All I wanna take is everything they make.

Last edited by sureshy; 03-18-2005 at 02:47 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-18-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,318
Try "passwd -s". Date arithmetic is covered in our FAQ section.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:35 PM.


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

Content Relevant URLs by vBSEO 3.2.0