When to utmp/wtmp revisited (was Re: Bug in all versions of OpenSSH)

Nicolas Williams Nicolas.Williams at ubsw.com
Fri Apr 12 07:33:37 EST 2002


On Thu, Apr 11, 2002 at 11:06:15PM +0200, Markus Friedl wrote:
> On Thu, Apr 11, 2002 at 11:38:52AM -0400, Nicolas Williams wrote:
> > On Sat, Apr 06, 2002 at 06:49:38PM +0200, Markus Friedl wrote:
> > > wtmp and friends are for pty allocation.
> > 
> > Nonsense. FTP does [uw]tmp.
> 
> some versions of ftpd do, but that's either abuse or accident.

Heh. Fine. Personally I think that syslog is almost good enough, and
possibly good enough if you use syslog-ng and good scripting. And
personally I dislike the fixed formats of [uw]tmp(x|) records.

It's the w/who/last commands that I find usefull.

But you know, depending on how you handle pam_open_session() the
decision of whether to [uw]tmp(x|) log SSHv2 connections or just pty
sessions could be left in the hands of the sysadmin. If I really care
I'll write a patch and submit it.

Cheers,

Nico
-- 
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list