From: mphalpin AT iag DOT net ("Sonic Junior") Subject: Login & Who 28 Jul 1997 17:32:16 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199707282313.TAA18255.cygnus.gnu-win32@iag.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Original-To: "Sergey Okhapkin" Original-Cc: "GNU Win 32" X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 Original-Sender: owner-gnu-win32 AT cygnus DOT com Ummm, well, I tried the login() command (it generates utmp), and who does this: /PROGRA~1/GNUWIN32/B18/H-I386~1/BIN/WHO.EXE: /var/run/utmp (I also tried coping utmp from other systems, same result.) If it does not exist, I get this: /PROGRA~1/GNUWIN32/B18/H-I386~1/BIN/WHO.EXE: /var/run/utmp: No such file or directory. Any idea?? SJ ---------- > From: Sergey Okhapkin > To: 'Sonic Junior' > Subject: RE: Identd? Possible? > Date: Monday, July 28, 1997 12:03 AM > > Sonic Junior wrote: > > > > I heard under NT, that when someone telnets in, that it is run in the > > security context of that user [so they have to abide by NTFS priviliges, > > correct?] > > Yes. > > > Anyway, is there an identd server for Cygwin? I'd like one that can > > determine which user is connecting similiar to Identd on Unix. If I am > > correct, all socket calls are done through cygwin.dll, right? Could you > > somehow detect thru the dll which user is using that socket? > > P.S. Is there a who/w/uptime command available for telnet? > > Who etc requires utmp and wtmp files. The login program proveded doesn't > fill in these files. It should be done with commented out login() call in > login source. If you send me a correct login() call implementation, I'll > add it to login program, so all neccesary files will be filled, and who, > identd etc will work. > > -- > Sergey Okhapkin, http://www.lexa.ru/sos > Moscow, Russia > Looking for a job - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".