This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Some questions about the nfs source package was: RE: NFS server(final?)
Pierre,
On Fri, Feb 14, 2003 at 09:41:07AM -0500, Pierre A. Humblet wrote:
> Not sure what else to do, using "Administrators" only works on English
> systems.
Check out the is_admin() function in setup.exe's mount.cc:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/setup/mount.cc?rev=2.15&content-type=text/plain&cvsroot=cygwin-apps
It shows how to determines whether or not the current user is a member
of the Administrators group in a (system) language independent way.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6