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

Nicolas Williams Nicolas.Williams at ubsw.com
Fri Apr 12 01:38:52 EST 2002


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. RSH does not even syslog (see below).

SSHv2, what with the multiple channels/sessions, with SFTP, shell
sessions and what not is a superset of FTP, TELNET, RSH and so on.

Since FTP does [uw]tmp logging methinks that so should OpenSSH *for the
SSHv2 connections* *and* for individual session channels such as SFTP
and pty sessions. In fact, I'd want all channels other than
port-forwarding types, to be [uw]tmp logged, but I'm willing to follow
tradition with non-pty sessions.

Keep in mind that, traditionally, in.rshd does not even syslog
(certainly not on Solaris, where you msut turn on BSM auditing to get at
RSH/REXEC logging). So, to follow tradition, non-pty sessions shouldn't
be logged at all, right? Wrong. RSH is not as good a model for what to
do as for what not to do.

IMO,

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