Results 1 to 5 of 5

Thread: What is %{p}?

  1. #1

    Default 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:
    Code:
    [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.

  2. #2

    Default Re: What is %{p}?

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

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,818

    Default Re: What is %{p}?

    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.
    Henk van Velden

  4. #4

    Default Re: What is %{p}?

    Quote Originally Posted by hcvv View Post
    It should have been replaced with the command you want to execute "as root".
    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.

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,818

    Default Re: What is %{p}?

    Correct. I would have thought that %u is a more logical parameter for that
    My strain of thought was %p for program
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •