Skip to content

Secure login and sulogin on S390x#4325

Open
karelzak wants to merge 1 commit into
util-linux:masterfrom
karelzak:PR/secure-login-S390x
Open

Secure login and sulogin on S390x#4325
karelzak wants to merge 1 commit into
util-linux:masterfrom
karelzak:PR/secure-login-S390x

Conversation

@karelzak

@karelzak karelzak commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Some remarks: on S390x architecture of modern zSeries the hypervisor does log the console I/O. For both the 3215 half duplex line mode as well as the 3270 full-screen/block mode console type the I/O is logged on the hypervisor's side. To control this there are command send via /dev/vmcp to tell the z/VM control program of the hypervisor not to log during entering the password. For the 3215 console also automatic scroll is enabled which avoid to press CLEAR to get the password prompt if on the next block.

Beside this for the ttysclp0, the serial ASCII terminal accessed via a websocket has since ncurses 6.5-20250405 a new terminfo entry called "sclp" to support not only the vt220 like behaviour but also the colouring feature of ttysclp0.

@karelzak karelzak added the PR-FROM-MAILING-LIST This pull request is based on a patch from the mailing list. label May 6, 2026
@karelzak karelzak force-pushed the PR/secure-login-S390x branch from c713c2e to 32999b5 Compare May 11, 2026 10:02
Some remarks: on S390x architecture of modern zSeries the hypervisor
does log the console I/O.  For both the 3215 half duplex line mode as
well as the 3270 full-screen/block mode console type the I/O is logged
on the hypervisor's side.  To control this there are command send via
/dev/vmcp to tell the  z/VM control program of the hypervisor not to
log during entering the password.  For the 3215 console also automatic
scroll is enabled which avoid to press CLEAR to get the password prompt
if on the next block.

Beside this for the ttysclp0, the serial ASCII terminal accessed via
a websocket has since ncurses 6.5-20250405 a new terminfo entry called
"sclp" to support not only the vt220 like behaviour but also the
colouring feature of ttysclp0.

Signed-off-by: Werner Fink <werner@suse.de>
@karelzak karelzak force-pushed the PR/secure-login-S390x branch from 32999b5 to b72c80d Compare May 26, 2026 16:02
@bitstreamout

Copy link
Copy Markdown
Contributor

OK ... modern compiler want to see the declaration of a exported function

Comment thread login-utils/vmcp.c
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing include of vmcp.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-FROM-MAILING-LIST This pull request is based on a patch from the mailing list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants