From: "Dmitry V. Levin" <ldv@fandra.org>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] man sudoers
Date: Thu Mar 1 21:32:01 2001
Message-ID: <20010301213555.B3410@LDV.fandra.org> (raw)
In-Reply-To: <200103011529.f21FT5Z01394@sass.home>; from sass@uustoll.ee on Thu, Mar 01, 2001 at 05:29:04PM +0200
[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]
On Thu, Mar 01, 2001 at 05:29:04PM +0200, Aleksandr Blohin wrote:
> AKJ> AB> Народ!
> AKJ> AB> Требуется помощь.
> AKJ>
> AKJ> AB> Что такое _ticket_dir_ в следующем тексте, о каких билетах это
> сказано
> AKJ> (в
> AKJ> AB> двух словах) или где можно об этом прочитать:
> AKJ>
> AKJ> AB> tty_tickets
> AKJ>
> AKJ> AB> If set, users must authenticate on a per-tty basis.
> AKJ> AB> Normally, sudo uses a directory in the
> AKJ> AB> _ticket_dir_ with the same name as the user
> AKJ> AB> running it. With this flag enabled, sudo will
> AKJ> AB> use a file named for the tty the user is
> AKJ> AB> logged in on in that directory. This flag is
> AKJ> AB> off by default.
> AKJ>
> AKJ> Насколько я помню, sudo может авторизовать пользователей не только по
> AKJ> username но и по терминалу (консоли?) на которой он, пользователь,
> AKJ> работает.
> AKJ>
>
> Так-то оно так, это я и сам прочитать сумел. Меня интересует, что такое
> ticket dir. Это к sudo отношение имеет очень отдаленное (никакое). Это
> относится к tty. Но что именно читать на эту тему я не знаю. А надо.
ticket dir - это (в нашем дистрибутиве) каталог вида
/var/run/sudo/собственно_имя_ticketа.
На самом деле это механизм, с помощью которого sudo отслеживает:
+ тот факт, что данный пользователь уже вызывал sudo (используется, в
частности, для lecture);
+ момент времени, когда была произведена последняя успешная аутентификация
для данного пользователя (или терминала, если используется tty_tickets).
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 --]
next prev parent reply other threads:[~2001-03-01 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-01 17:56 Aleksandr Blohin
2001-03-01 18:16 ` Artem K. Jouravsky
2001-03-01 20:28 ` Aleksandr Blohin
2001-03-01 21:32 ` Dmitry V. Levin [this message]
2001-03-01 21:18 ` 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=20010301213555.B3410@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