Репозитории ALT
S: | 0.17-alt5.1 |
4.1: | 0.17-alt2 |
4.0: | 0.17-ipl9mdk |
3.0: | 0.17-ipl9mdk |
Группа :: Сети/Удалённый доступ
Пакет: rsh
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: netkit-rsh-0.17-pam-nologin.patch
Скачать
Скачать
--- netkit-rsh-0.17-pre20000412/rlogind/auth.c.orig Tue Mar 19 11:46:29 2002
+++ netkit-rsh-0.17-pre20000412/rlogind/auth.c Wed Apr 17 16:35:43 2002
@@ -127,7 +127,10 @@
network_confirm();
retval = attempt_auth();
- if (retval != PAM_SUCCESS) {
+ if ((retval == PAM_ACCT_EXPIRED) || (retval == PAM_PERM_DENIED)) {
+ syslog(LOG_ERR, "PAM authentication denied for in.rlogind");
+ exit(1);
+ } else if (retval != PAM_SUCCESS) {
syslog(LOG_ERR, "PAM authentication failed for in.rlogind");
return -1;
}