[fpc-pascal] libc unit and FreeBSD
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Jan 14 13:24:34 CET 2008
On 14 Jan 2008, at 12:03, Graeme Geldenhuys wrote:
> A quick work-around for me would be to read the /etc/groups and
> /etc/passwd files looking for the Group ID or User ID and return the
> associated names. I can parse and keep a copy of those files in
> memory while the File Dialog is open - than way it should speed up the
> lookups as the user browses through directories.
>
> Does anybody know if unix type OS's allow normal (general) users to
> read those files from /etc?
Yes, but they they do not necessarily contain any useful information.
The actually used information may be on an ldap server, in a netinfo
database, on an NIS server, on a SAMBA server, on a Windows Domain
Controller, ... That's the whole point of the plugin system used by
libc.
Jonas
More information about the fpc-pascal
mailing list