On 8/30/05, Shijithlal <[EMAIL PROTECTED]> wrote:
> If there is no shadow file is availble, then where the account expire
> date will be stored. If the shadow is enabled, then I can use getspnam
> function to get the account expire time. If shadow is not enable,how
> can I read the account expire date of a user???

Account expiration and stuff like that is ONLY available if you have
shadow enabled. There is no place in the passwd file (well, perhaps
the CECOS field) to store the information.

Thaths
-- 
"This is everybody's fault but mine!" -- Homer J. Simpson


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to