ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] user logins многострадальный.
@ 2002-02-12  0:25 Peter V. Saveliev
  2002-02-12 11:23 ` cornet
  2002-02-12 13:34 ` Dmitry V. Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Peter V. Saveliev @ 2002-02-12  0:25 UTC (permalink / raw)
  To: ALT Linux

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

Хелп. Очень надо наладить.
Петр.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] user logins  многострадальный.
  2002-02-12  0:25 [mdk-re] user logins многострадальный Peter V. Saveliev
@ 2002-02-12 11:23 ` cornet
  2002-02-12 13:34 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: cornet @ 2002-02-12 11:23 UTC (permalink / raw)
  To: mandrake-russian

"Peter V. Saveliev" wrote:
skip.
> [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

А если так:
$ rpm -qa | grep pam
pam_userpass-0.5-alt3
pam_passwdqc-0.4-alt3
libpam-0.75-alt12
pam-0.75-alt12
libpam-devel-0.75-alt12
pam-config-1.1.2-alt1
pam_tcb-0.9.7-alt4

Попробуйте обновиться и внимательно на счет создания файлов *.rpmsave, *.rpmnew и тому подобное.

-- 
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] user logins многострадальный.
  2002-02-12  0:25 [mdk-re] user logins многострадальный Peter V. Saveliev
  2002-02-12 11:23 ` cornet
@ 2002-02-12 13:34 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2002-02-12 13:34 UTC (permalink / raw)
  To: ALT Linux Spring mailing list

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

On Tue, Feb 12, 2002 at 12:30:09AM +0300, Peter V. Saveliev wrote:
> [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

а зачем pam_limits вызывать дважды?

> /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

добавьте параметр "debug" и посмотрите, что происходит.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.com/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-12 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-12  0:25 [mdk-re] user logins многострадальный Peter V. Saveliev
2002-02-12 11:23 ` cornet
2002-02-12 13:34 ` Dmitry V. Levin

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