From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811749.tru64-unix-managers.marc@archive.invalid> From: Brian O'Neill Date: Thu, 21 May 1998 18:19:56 +0000 To: tru64-unix-managers Subject: What deos getlogin() depend on in DU 4.0D? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811749 I'm working on porting an older shadow password system to Digital UNIX. for various reasons, I can't make use of C2. The one I'm working with is John F. Haugh II's version from 1993. I had it almost working some time ago, but ran in to trouble with LAT connections, which I no longer need to worry about. However, I recently went back to work on it, and it seems that when the programs are installed, even when I haven't ter converted the password file over, the getlogin() function fails with an EINVAL. The man page talks about EINVAL, but it seems only to relate to getlogin_r() and setlogin(), since no parameters are passed to getlogin(). Does anyone know what getlogin() uses for data? They used to use utmp info, but utmp looks valid to me (who works, and a test program parsed it fine). Any ideas? -- ====================================================================== Brian O'Neill - Director of Computing, Computer Science (978) 934-3645 University of Massachusetts Lowell <*> Brian_ONeill@uml.edu Acting Postmaster