Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-122252

[RFE] Add syslog support for TMOUT timeout

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-7.9.z, rhel-8.10, rhel-9.6, rhel-10.0
    • bash
    • None
    • None
    • rhel-plumbers
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Can we consider below patch (I am the author): 

      This proposal is to include the syslogging feature whenever TMOUT logic sends ALRM and logs out the bash session. This will be helpful to track down what caused user session to end especially when there are multiple mechanisms to auto logout user session like systemd-logind timeout, pam, etc.

      Attached is the patch for reference.
      https://savannah.gnu.org/patch/?10542

       

      If any changes to the code let me know. I was initially thinking if we can make this logging enabled only when particular variable is set like TMOUT_LOG etc. Any inputs are welcomed.

              rhn-support-svashish Siteshwar Vashisht
              rhn-support-smahanga Shreyas Mahangade
              Siteshwar Vashisht Siteshwar Vashisht
              Karel Volný Karel Volný
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: