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.
Thanks and kind regards, Stefan
Hello,
If you have sudo installed, you could try using `sudo su ...` as a workaround. Sudo by default gives you up to 3 attempts but I think you can configure this. Or you could just use sudo.
-- Philippe MAVRIDIS
-------- Αρχικό Μήνυμα -------- Την 25 Ιαν 2023, 16:16, Stefan Krusche via tde-users έγραψε:
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. Thanks and kind regards, Stefan ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
On Wed, 25 Jan 2023 15:16:19 +0100 Stefan Krusche via tde-users users@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.)
E. Liddell
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@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.)
Thanks!
Stefan Krusche 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'".
SNIP
Thanks and kind regards, Stefan
The command I use, one you did not indicate, # su -. not sure of # of attempts, and I fail quite often. sudo su - is my backup.
gregm