psycho Guru


Joined: 22 Jun 2007 Posts: 553 Location: New Zealand
|
Posted: Mon Mar 31, 2025 12:46 am Post subject: Differences between GUI terminal and console output |
|
|
Specifically xfce4-terminal. I'm used to the simple tidy message... Code: | su: Authentication failure | ...for failed passwords. After a fresh Gentoo install I'm seeing, for the first time as far as I can recall, an ugly and (to me, at least) unnecessary additional line headed with unix_chkpwd and what looks to be a process number and then a few more words before outputting the traditional "Authentication failure" message above.
While trying to figure out why it's appeared (and, ideally, how to fix or suppress it), I noticed that I'm only seeing it on console screens (all the virtual terminals outside of the GUI)... all the consoles spit out the unix_chkpwd message in response to login failures, but it's invisible to xfce4-terminal. So, whereas I started out wondering about what had got unix_chkpwd so excited (and so was going to post this in the networking and security forum), now I'm more curious about why a message that someone thinks is important enough to output on the consoles nevertheless isn't important enough to output on the GUI terminal where people are more likely to be looking. What's the difference: what makes unix_chkpwd decide to keep quiet in the GUI, and can I use this to shut it up in the consoles too?
Now that I think about it, the fresh Gentoo also involved a new kernel...does the console/GUI difference mean that this is coming directly from the kernel rather than from unix_chkpwd? |
|