SSH and forced wtmp entries ...

Krzysztof Oledzki olemx at ans.pl
Thu May 10 04:35:01 EST 2001



On Mon, 7 May 2001, Markus Friedl wrote:

> try to use
> 	ssh -t host command 
> 
> is this ok?
> 
> why do you need wtmp? ssh just emulates the
> traditional rsh/rlogin behaviour. wtmp gets
> updated only if you allocate a tty.
> 
> every login is registered in /var/log/authlog

I have got another idea - maybe it would be more useable to log info
about user, that logged in without tty, into wtmp like it does wu-ftpd
(and probably others ftp servers) - it adds an entry like:

moon              ftp      pe16.warszawa.ad Tue Apr  3 12:34 - 21:53 (09:19)

And insted "ftp" ssh should use for example "sshnotty" or something
similar :)


Best regards,

			Krzysztof Oledzki




More information about the openssh-unix-dev mailing list