Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

pam

How does one change the delay that occurs after entering an incorrect password?

August 11, 2022 by Magenaut

After entering an incorrect password at a login prompt, there s an approximately 3-second delay. How can I change that on a Linux system with PAM?

Categories Q&A, Unix & Linux Tags hardening, login, pam Leave a comment

vsftpd fails pam authentication

August 10, 2022 by Magenaut

Moving a tried-and-true vsftpd configuration onto a new server with Fedora 16, I ran into a problem. All seems to go as it should, but user authentication fails. I cannot find any entry in any log that indicates what happened.

Categories Q&A, Unix & Linux Tags authentication, ftp, pam, security Leave a comment

Allow user1 to “su – user2” without password

August 9, 2022 by Magenaut

I need to allow user martin to switch to user martin-test without password

Categories Q&A, Unix & Linux Tags authentication, pam, password, users Leave a comment

How do I force a user to change a password at the first time login using ssh?

August 9, 2022 by Magenaut

I’m trying to force a newly created user to change a password at the first time login using ssh. For security reasons I want to give him a secure password until he logs in for the first time. I did the following so far:

Categories Q&A, Unix & Linux Tags bash, linux, login, pam, ssh Leave a comment

Securest way to authenticate users against /etc/shadow using PHP?

August 8, 2022 by Magenaut

This question became important to me, since I’m setting up a Horde environment and want to use the system accounts. Doing some search I found mainly 4 ways of doing that, which all seem to have some drawbacks. Now I’m wondering, which one is most secure or if I’m missing some alternatives.

Categories Q&A, Unix & Linux Tags pam, php, security Leave a comment

Why does sudo -i not set XDG_RUNTIME_DIR for the target user?

August 6, 2022 by Magenaut

XDG_RUNTIME_DIR is necessary for systemctl --user to work.

Categories Q&A, Unix & Linux Tags pam, ssh, sudo, systemd Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress