[fpc-pascal]Password changing
Marco van de Voort
marcov at stack.nl
Thu Jun 6 23:06:00 CEST 2002
>
> getpwnam (UserName : Pchar) : PPasswordRecord;cdecl;external 'c' name getpwnam;
>
> and similar for putpwnam.
>
> Do a man getpwent and you should get all possible info.
>
> Take care that systems with shadow passwords use getspwnam().
That is a Linuxism. *BSD always uses shadow passwds (stores them
in /etc/master.passwd), and these are callable using the usualy functions
(getpwent).
More information about the fpc-pascal
mailing list