Re: Unix password "extensions"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 19, 2000 at 10:57:56AM -0400, Joseph S D Yao wrote:
> These "extensions" date back to the late 1970's and PWB Unix 1.0.  They
> relate to password aging.  The passwords use regular crypt().  If your
> getpw*() functions don't terminate at the comma, then you can either use
> strncmp() or replace the commas with NULs in-line [but beware of any
> other problems that may cause].

Since originally looking at it, I've noticed that it's easier to use
strncmp() than attempting to terminate the string in the right place.
Do you have any pointers to online sources of documentation for what
these fields are used for?

Thanks,

Nalin





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux