YuutaW 🌸 on Nostr: Debian pam-auth-update(1) 只要只勾选 Create home directory on ...
Debian pam-auth-update(1) 只要只勾选 Create home directory on login(其实完全不勾也行,但那个 TUI 不允许),就可以产生如下 common-auth:
auth [default=1] pam_permit.so
auth requisite pam_deny.so
auth required pam_permit.so
也就是说,完全不认证,任意用户跑 su 连密码都不会提示,非常方便(
(别想多,是 Container 里用,图一方便)
Published at
2024-02-18 06:55:49Event JSON
{
"id": "dad128724762cadc1959c5aa8fecec08b0b025185c31d9d39a035ca37158e312",
"pubkey": "7c016409229e7b59d0762c14ef86a0ba4d938a76a1f58a39d1aaff3761562b52",
"created_at": 1708239349,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.yuuta.moe/users/yuuta/statuses/111951174003361428",
"activitypub"
]
],
"content": "Debian pam-auth-update(1) 只要只勾选 Create home directory on login(其实完全不勾也行,但那个 TUI 不允许),就可以产生如下 common-auth:\n\nauth [default=1] pam_permit.so\nauth requisite pam_deny.so\nauth required pam_permit.so\n\n也就是说,完全不认证,任意用户跑 su 连密码都不会提示,非常方便(\n\n(别想多,是 Container 里用,图一方便)\n\nhttps://mastodon.yuuta.moe/system/media_attachments/files/111/951/173/729/733/173/original/73bda6c43719648e.jpeg\n\nhttps://mastodon.yuuta.moe/system/media_attachments/files/111/951/173/911/404/261/original/fe99a35208607a33.jpeg",
"sig": "5248a10bbdb489adaa6a79cbfc27dcb9b07c5b8e2699edb4f973e957f1760f84de5a98250deb9e0e1adfaeb2d3c5a63852aed9568b115000673d51b2dfb0352a"
}