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

vipw/vigr affect bash because it does not restore terminal pgid.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.5.z
    • shadow-utils
    • None
    • None
    • Moderate
    • rhel-sst-idm-sssd
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • All
    • None

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

      To fix vipw/vigr not resuming when suspended, lines had been added to change pgid(ie. pgrp)

      https://github.com/shadow-maint/shadow/commit/7eca1112fbd7a3eae6a6cbc6e52482a0a8326ff7

      However, it does not undo the changed pgid, which affects the command line tools.

      Please provide the package NVR for which the bug is seen:

      • shadow-utils-4.9-10.el9_5.x86_64

      How reproducible is this bug?:

      • Always

      Steps to reproduce

      1. Disable monitor-mode in bash.

      # set +m
      

      2. Run vipw or vigr

       

      # vipw
      

      Expected results

      No logout.

      Actual results

      After exiting the editor, it logs out on its own

              ipedrosa@redhat.com Iker Pedrosa
              rhn-support-kyoneyam Kazushige Yoneyama
              Iker Pedrosa Iker Pedrosa
              Anuj Borah Anuj Borah
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: