What is %{p}?

Hello guys,

Just a quick question. Starting from yesterday or so, or at least that’s when I noticed that, when I try to log in as sudo, the password prompt has become something like this:

[sudo] password for %{p}:

I haven’t seen this before. Does anyone know what “%{p}” is? And how to go back to the normal ones?

Thanks in advance.

It’s a bug (in sudo’s password prompt) that should be fixed soon:
https://bugzilla.opensuse.org/show_bug.cgi?id=1081470

It should have been replaced with the command you want to execute “as root”. The bug is apparently that this is not done. Looks strange, but no harm done.

No, it should be replaced with the name of the user whose password is needed, “root” normally.

The bug is apparently that this is not done.

It is done, but %{p} is wrong, it would need to be %p to work.

A fix is on the way though, as mentioned.

Looks strange, but no harm done.

Correct.

Correct. I would have thought that %u is a more logical parameter for that :frowning:
My strain of thought was %p for program :wink: