Am Mittwoch, 25. Januar 2023 schrieb E. Liddell via tde-users:
On Wed, 25 Jan 2023 15:16:19 +0100
Stefan Krusche via tde-users <users(a)trinitydesktop.org> wrote:
Good Day everyone,
I still wonder, after all those years, how to configure root login
shell in konsole to ask again and not just die when I mistyped the
password.
Konsole is launched with the arguments "su --login"
or "su --login -c 'mc -c'".
'su' in a USER shell also dies after one login attempt. So, it
seems, su needs to be configured. But it is hard for me to see
through su/pam configuration.
Any help or hint is muchly appreciated.
Some quick poking around suggests you may want to look at the
login.defs file, specifically the LOGIN_RETRIES setting (this will
presumably affect more than just su, though.)