From: "Peter V. Saveliev" <peet@infosite.ru>
To: ALT Linux <mandrake-russian@altlinux.ru>
Subject: [mdk-re] user logins многострадальный.
Date: Tue Feb 12 00:25:20 2002
Message-ID: <20020212003009.3e873ed2.peet@infosite.ru> (raw)
bash-2.05$ w
12:19am up 3 days, 6:05, 7 users, load average: 0.69, 0.34, 0.32
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
peet tty1 localhost 7:40pm 4:15m 40.17s 0.03s xinit /home/pee
peet pts/6 :0 12:18am 0.00s 0.47s 0.28s ssh dunkey@peet
peet pts/4 :0 12:13am 35.00s 0.50s 0.24s ssh dunkey@peet
dunkey pts/5 peet.spb.ru 12:19am 30.00s 0.18s 0.07s /bin/bash --log
dunkey pts/7 peet.spb.ru 12:19am 0.00s 0.16s 0.07s w
Вот так.
[peet@peet peet]$ sudo cat /etc/security/limits.conf | grep dunkey
@dunkey - maxlogins 1
[peet@peet peet]$ sudo vigr
...
dunkey:x:510:dunkey
[peet@peet peet]# sudo grep pam_limits.so /etc/pam.d/*
/etc/pam.d/autologin:session required /lib/security/pam_limits.so
/etc/pam.d/login:session required /lib/security/pam_limits.so
/etc/pam.d/sshd:session required /lib/security/pam_limits.so
/etc/pam.d/system-auth:session required /lib/security/pam_limits.so
/etc/pam.d/system-auth-winbind:session required /lib/security/pam_limits.so
В общем, ничего не понимаю. И так, и так, и с перезапуском sshd, и killall login,
и с перезагрузкой, и никак не получается. Пробовал вместо - ставить hard, вместо
группы - пользователя dunkey, все как рыбой об стену.
Должно работать? Очевидно, должно... Работает? Очевидно, нет - см. первый абзац.
[peet@peet peet]$ rpm -qa | grep pam
pam-config-1.1.1-alt1
pam_passwdqc-0.4-alt3
pam_mktemp-0.1-alt2
pam_tcb-0.9.7-alt2
libpam-0.75-alt12
pam-0.75-alt12
pam_ldap-125-alt1
pam_userpass-0.5-alt3
Хелп. Очень надо наладить.
Петр.
next reply other threads:[~2002-02-12 0:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-12 0:25 Peter V. Saveliev [this message]
2002-02-12 11:23 ` cornet
2002-02-12 13:34 ` Dmitry V. Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020212003009.3e873ed2.peet@infosite.ru \
--to=peet@infosite.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git