ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@fandra.org>
To: mandrake-russian <mandrake-russian@linuxteam.iplabs.ru>
Subject: Re: [mdk-re] multiple root logins
Date: Wed Jan 17 04:24:01 2001
Message-ID: <20010117034416.A4234@LDV.fandra.org> (raw)
In-Reply-To: <74678587296.20010116144104@zuzusoft.com>; from ujo@zuzusoft.com on Tue, Jan 16, 2001 at 02:41:04PM +0300

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

On Tue, Jan 16, 2001 at 02:41:04PM +0300, Artem K. Jouravsky wrote:
>   Возник вот такой вопрос...
>   У меня на сервере два рутовых логина, по именам двух юзеров их
>   имеющих:
>   r_user1 и r_user2, у обоих, ясное дело, UID=0.
>   Причина простая - каждому удобнее свои собственные пароли помнить
>   Просто логин root у меня забит (в файле /etc/shadow вместо пароля
>   стоит астериск)
>   А проблема вот в чем, уходя на обед запустил vlock, потому что не
>   хотелось совсем сессию закрывать, а вернувшись, обнаружил что кроме
>   пароля root он более ничего видеть не хочет :( Пришлось менять
>   пароль root с другой консоли чтобы разлочить те что оставил... Это можно
>   как-то лечить?

Во первых, проблему надо лечить в корне; в данном случае корень проблемы -
"два _рутовых_ логина по именам двух _юзеров_". Надо работать
непривилегированным пользователем.

Что касается описанной Вами ситуации с vlock, то Вы ее не сможете решить
корректно своими силами. Таково поведение /sbin/{pwdb,unix}_chkpwd, и во
всех дистрибутивах, где vlock работает с использованием авторизации через
PAM >= 0.72, Вы будете наблюдать эту картину. Есть шанс, что в Sisyphus
раньше или позже это будет исправлено.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@fandra.org
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team   http://linux.iplabs.ru
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 --]

  parent reply	other threads:[~2001-01-17  4:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-16 14:37 Artem K. Jouravsky
2001-01-16 20:51 ` Anton I. Karpov
2001-01-17 12:50   ` Re[2]: " Artem K. Jouravsky
2001-01-17  4:24 ` Dmitry V. Levin [this message]
2001-01-17 13:00   ` Artem K. Jouravsky
2001-01-17 14:15     ` Dmitry V. Levin
2001-01-17 16:47   ` Re[2]: " Maksim Otstavnov
2001-01-17 17:48     ` Re[3]: " Artem K. Jouravsky
2001-01-17 18:41       ` Re[4]: " Maksim Otstavnov
2001-01-18  2:30         ` Dmitry V. Levin
2001-01-18 15:58           ` Re[2]: " Artem K. Jouravsky

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=20010117034416.A4234@LDV.fandra.org \
    --to=ldv@fandra.org \
    --cc=mandrake-russian@linuxteam.iplabs.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