Displaying 2 results from an estimated 2 matches for "pam_noulogin".
Did you mean:
pam_nologin
2004 Jan 12
1
PAM_ERROR_MSG and PAM_TEXT_INFO from modules
...UsePrivilegeSeparation yes
two problems:
first pam_motd does not work anymore.
second, I needed a quick way to disable normal user logins without
disabling admin accounts (members of group wheel). the best option i
could come up with is to write a new pam module similar to
pam_nologin, mine is pam_noulogin. It works as both as an auth, and
account module. It checks for /etc/noulogin and denies everyone except
root and members of group wheel access when it exists, printing the
contents of /etc/noulogin via a PAM_ERROR_MSG through the conversation
mechanism.
so that this would work with both pubkey a...
2005 Apr 24
0
[Bug 1002] sshd does not report failed PAM session modules to the client side
...2005-04-24 11:16 -------
The PAM API doesn't provide the information you're asking for so there's no
reasonable way for sshd to do what you're asking.
If you want to deny user logins with a message at particular times then what you
probably want is something like Ethan Benson's pam_noulogin
(http://penguinppc.org/~eb/files/pam-noulogin.tar.gz).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.