delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/28/17:32:16

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
Original-To: "Sergey Okhapkin" <sos AT prospect DOT com DOT ru>
Original-Cc: "GNU Win 32" <gnu-win32 AT cygnus DOT com>
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 <sos AT prospect DOT com DOT ru>
> To: 'Sonic Junior' <mphalpin AT iag DOT net>
> 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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019