Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2020 11:34:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243584] OpenPAM openpam_ttyconv() fails to handle suspend/resume properly.
Message-ID:  <bug-243584-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243584

            Bug ID: 243584
           Summary: OpenPAM openpam_ttyconv() fails to handle
                    suspend/resume properly.
           Product: Base System
           Version: 11.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: J.deBoynePollard-newsgroups@NTLWorld.COM

Per https://unix.stackexchange.com/a/563986/5132 :

1. Run "su ; cat"
2. Press Control+Z (or whatever your susp character is) at the "Password:"
prompt.
3. Notice that there is no terminal echo as `cat` is reading.

Also:

1. Run "su ; stty echo ; fg"
2. Press Control+Z (or whatever your susp character is) at the "Password:"
prompt.
3. Notice that your password is now echoed as it is entered into `su`.

Use sh or compatible to replicate this, not the C shell, which does not exe=
cute
the commands after su.

Contrast getpass(3), which at least handles SIGTSTP (even though it does no=
t do
so by also handling SIGCONT).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243584-227>