Menu

Linux user/Admin password prompt

2026-08-19
2026-08-20
  • Musgrave SFrge

    Musgrave SFrge - 2026-08-19

    On ubuntu24 there is a 'sudoers directory', which allows the system user (Admin) password prompt to be bypassed for designated programs, example: username (ALL=(ALL:ALL) NOPASSWD:/usr/bin/veracrypt).
    Currently when I mount favorites from the veracrypt menu I'm prompted for;
    1 Admin password
    2 password for container / device
    3 Admin password (again)

    I question if the veracrypt request for the admin password is necessary. (In this case the user has admin rights and the sudoers entry should allow run without a user/Admin password prompt?)

    Curiously, if I press cancel at (1) the first Admin password prompt,
    it continues to (2) (vercrypt container password) and then
    to (3) Admin password again.
    If 2 & 3 are entered correctly It then mounts the favorites!

     
  • Musgrave SFrge

    Musgrave SFrge - 2026-08-20

    Musgrave SFrge
    2026 0820 update;
    Checking the auth.log this message usename-HP sudo: username: a password is required ; PWD=/home/username; USER=root ; COMMAND=/usr/bin/true appears to indicate that the command (/usr/bin/true) is causing the problem. Issued by PAM module?

     

    Last edit: Musgrave SFrge 6 days ago

Log in to post a comment.