Secure login and sulogin on S390x#4325
Open
karelzak wants to merge 1 commit into
Open
Conversation
c713c2e to
32999b5
Compare
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>
32999b5 to
b72c80d
Compare
Contributor
|
OK ... modern compiler want to see the declaration of a exported function |
| #include <string.h> | ||
| #include <unistd.h> | ||
| #include <sys/ioctl.h> | ||
|
|
Contributor
There was a problem hiding this comment.
Missing include of vmcp.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.