SSH and forced wtmp entries ...

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Fri May 11 08:54:20 EST 2001


On Wed, May 09, 2001 at 08:35:01PM +0200, Krzysztof Oledzki wrote:
> 
> 
> 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)

why abuse lastlog? why not use /var/log/authlog?



More information about the openssh-unix-dev mailing list