Find the answer to your Linux question:
Results 1 to 2 of 2
This is a strange problem to me. I have /etc/pam.d/common-password and common-auth setup so that users are only allowed 3 tries to log in correctly. So that when I run ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    13

    Question Ubuntu 12.04 Sudo Failures Increment even with successful password


    This is a strange problem to me.

    I have /etc/pam.d/common-password and common-auth setup so that users are only allowed 3 tries to log in correctly. So that when I run sudo_tally or faillog to see how many failures a user account has it shows correctly.

    However! I have sudo privileges and I log in without issues, but then when I try to run the Ubuntu Software Center to run updates, I'm asked to enter my password, I enter it, it accepts it, but it increments the "Failures" when I run "Faillog" even though I did not screw up the password entry, it still increments the failure count. Why? I have already locked my self out once.

    What's messed up here? I need to get this fixed because other accounts are going to have the same problem I can't deploy this system like this.

    Thanks!

  2. #2
    Just Joined! ZeRoShock's Avatar
    Join Date
    Mar 2010
    Location
    Madison, Wi
    Posts
    18
    Hi charliemp3,

    sudo will elevate privileges to root. This is not needed when logging in as a user. Type:

    Code:
    groups
    to see what groups you are in, then check /etc/sudoers to see if you have gave a group sudo privileges. So lets say you are in the group wheel. Your /etc/sudoers file should have the line:

    Code:
    ## Uncomment to allow members of group wheel to execute any command
    %wheel ALL=(ALL) ALL

Posting Permissions

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