Re: Accounting changes



On 2007-Apr-19 21:15:01 +0000, Poul-Henning Kamp <phk@xxxxxxxxxxxxxx> wrote:
In message <20070419212253.L2913@xxxxxxxxxxxxxxxxx>, Robert Watson writes:

__dev_t ac_tty; /* controlling tty */

This field is useless, nobody uses hardwired RS-232 terminals
anymore.

What we should do is add a systemcall or sysctl, so session creators
like getty, sshd and similar can install a session indentifying string
on the session, and then dump that in the accounting.

In theory, something that creates a session should be logging a utmp
record that links the assigned PTY to the session initiator. The
PTY name reflects the session identifier and the utmp record can be
used to work out who/how the session was initiated. This approach
seems more reasonable than recording complete session information in
each raw accounting record.

In practice, not all sessions have utmp records and many utilities are
not recording logouts. Fixing this and maybe adding information
relating to credentials would seem to be less intrusive than modifying
ac_tty.

--
Peter Jeremy

Attachment: pgpgSag8itqvq.pgp
Description: PGP signature



Relevant Pages

  • Re: Session data
    ... How are you storing your session information? ... server or Sql Server? ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Session Variables...
    ... The browser can affect session state information. ... These settings do not apply to the 'local intranet zone' where session information is maintained despite the options chosen here. ... Session Data Is Lost When You Use ASP.NET InProc Session State Mode ... Session Variables Are Lost If You Use FRAMESET in Internet Explorer ...
    (microsoft.public.inetserver.asp.general)
  • RE: Session expires
    ... These settings do not apply to the 'local intranet zone' where session information is maintained despite the options chosen here. ... IIS 6.0 Session State May Be Lost If You Use Web Gardens with ASP ... Session Variables Are Lost If You Use FRAMESET in Internet Explorer ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Need Microsoft Help: Session object retrieving another users Session information
    ... A module is a class with shared variables (possibly as private members). ... > Rather than storing the preferences directly in the Session object (e.g. ... > and in the Unload event, ... > Suddenly, as users moved from page to page, their session information was ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Where is HttpSession ? System.net or System.web?
    ... Persisting the Session with ASP.NET ... order for the Web server to differentiate incoming requests, ... The Web server uses this ticket to retrieve ... session information from a durable storage area. ...
    (microsoft.public.dotnet.framework)