[comp.protocols.nfs] PC-NFS set uid?

TOMIII@MTUS5.BITNET (Thomas Dwyer III) (07/19/90)

Hi there.  I need a set-uid program to run on a PC-NFS network drive.  The
toolkit includes several functions for finding out who you are, but no
functions to set who you are.  Has anyone had experience with this, or
does anyone know how/where the uid and gid are stored/verified in the PC?

The only current method I have to do this is:

    spawnl(P_WAIT, "NET.EXE", "NET.EXE", "NAME <userid> <passwd>", NULL);

which I'm sure is the last thing I want to do.  I suppose I could hack
rpc.pcnfsd to check a special case "scrambled" username, and return the
appropriate uid & gid to a NET NAME call, but this isn't what I wany
either.  Any help would be greatly appreciated.


Thanks,
Thomas Dwyer III                            TOMIII   @ MTUS5.BITNET
Network Programmer                          DWYERIII @ MTUS5.BITNET
Computing Technology Services
Michigan Technological University