** Description changed:

  Issue:
- If use `pam-auth-update --remove profile` to remove a profile, it has no 
effect: the /etc/pam.d/common-auth doesn't change at all. 
+ If use `pam-auth-update --remove profile` to remove a profile, it has no 
effect: the /etc/pam.d/common-auth doesn't change at all.
  OS: jammy
  libpam-runtime: 1.4.0-11ubuntu2.4
- 
  
  The profile I use
  
  ```
  cat << EOF > /usr/share/pam-configs/faillock
- Name: Notify of failed login attempts and reset count upon success
+ Name: Enable pam_faillock to deny access
  Default: yes
- Priority: 1024
+ Priority: 0
  Auth-Type: Primary
  Auth:
-     requisite                       pam_faillock.so preauth
- Account-Type: Primary
- Account:
-     required                        pam_faillock.so
+     [default=die]                   pam_faillock.so authfail
  EOF
  
  cat << EOF > /usr/share/pam-configs/faillock_notify
  Name: Notify of failed login attempts and reset count upon success
  Default: yes
  Priority: 1024
  Auth-Type: Primary
  Auth:
-     requisite                       pam_faillock.so preauth
+     requisite                       pam_faillock.so preauth
  Account-Type: Primary
  Account:
-     required                        pam_faillock.so
+     required                        pam_faillock.so
  EOF
  ```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089712

Title:
  pam-auth-update --remove doesn't work properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/2089712/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to