Patch for "last" providing incorrect information on Solaris 8

Loomis, Rip GILBERT.R.LOOMIS at saic.com
Fri Nov 16 03:32:11 EST 2001


If we enhance record_logout to include the username as
a passed parameter, it will also help me greatly in
getting the Solaris auditing (BSM) support working.
(In fact, I was just about to propose it to the list--
it's a non-trivial divergence between the OpenBSD
version and Portable, but it's really necessary for
BSM.)

I would therefore strongly recommend that these patches
get rolled into OpenSSH ASAP--since I need to "diddle
with configure" already for the BSM parts, I'm going to
incorporate these patches into my temporarily-divergent
codebase and work on a combined patch.

--
Rip Loomis
Senior Systems Security Engineer
SAIC Center for Information Security Technology 

> -----Original Message-----
> From: William R. Knox [mailto:wknox at mitre.org]
> Sent: Thursday, 15 November, 2001 10:10
> To: openssh-unix-dev at mindrot.org
> Subject: Patch for "last" providing incorrect information on Solaris 8
> 
> 
> I have put together a simple set of diffs that corrects the problem
> described by Steven Fishback <sfishback at interpath.net> on 
> 10-30 on this
> list regarding incorrect information reported by last on Solaris. The
> patches merely pass along the username in the utmpx record 
> for a logout.
> Is there any reason why this would be a problem with other 
> OSes? If not,
> maybe this could be rolled into the port. If so, diddling 
> with configure
> would be the next step. Any ideas? The diffs are against 3.0p1, by the
> way.
> 
> 			Bill Knox
> 			Senior Operating Systems Programmer/Analyst
> 			The MITRE Corporation
> 



More information about the openssh-unix-dev mailing list