From: Ivan Zakharyaschev <imz@altlinux.ru>
To: <devel@altlinux.ru>
Subject: Re: [devel] getlogin broken in glibc-2.2.4-alt2
Date: Mon, 24 Sep 2001 22:13:50 +0400 (MSD)
Message-ID: <Pine.LNX.4.33L.0109242204010.2021-100000@arrakis.zephyrous> (raw)
In-Reply-To: <20010924214737.A10743@voins.local>
On Mon, 24 Sep 2001, Alexey Voinov wrote:
> $ rpm -q login su pam
> login-0.60-alt5
> su-0.60-alt5
> pam-0.75-alt10
$ rpm -q login su pam glibc $(rpm -qf /bin/login /bin/su)
пакет login не установлен
пакет su не установлен
pam-0.75-alt7
glibc-2.2.4-alt2
util-linux-2.11h-alt2
sh-utils-2.0.11-alt1
> В консоли
>
> $ /home/voins/projects/a.out
> getlogin returned: LOGIN
>
> $ su -l voins -c /home/voins/projects/a.out
> getlogin returned: LOGIN
в консоли:
$ /home/ivan/DATA/my/tests/a.out
getlogin returned: ivan
$ su -c /home/ivan/DATA/my/tests/a.out
Password:
getlogin returned: ivan
$ su -l ivan -c /home/ivan/DATA/my/tests/a.out
Password:
getlogin returned: ivan
> В xterm
>
> $ /home/voins/projects/a.out
> getlogin returned: (null)
>
> $ su -l voins -c /home/voins/projects/a.out
> getlogin returned: voins
В Eterm:
$ /home/ivan/DATA/my/tests/a.out
getlogin returned: (null)
$ su -c /home/ivan/DATA/my/tests/a.out
Password:
getlogin returned: (null)
$ su -l ivan -c /home/ivan/DATA/my/tests/a.out
Password:
getlogin returned: (null)
> Если у su не вводить пароль, то в /var/log/messages падает
> замечательная
> строчка:
> authentication failure; logname=LOGIN uid=500 euid=0 tty=tty2
> ruser=LOGIN rhost=localhost user=root
Если это происходит в Eterm:
на просто su реакция такая:
authentication failure; logname= uid=501 euid=0 tty= ruser= rhost= user=root
на su -l ivan:
authentication failure; logname= uid=501 euid=0 tty= ruser= rhost= user=ivan
В консоли, соответственно:
authentication failure; logname=ivan uid=501 euid=0 tty= ruser= rhost= user=root
и
authentication failure; logname=ivan uid=501 euid=0 tty= ruser= rhost= user=ivan
> И так, подозрения теперь на пакеты: pam, su, login.
> У кого-нибудь осталась система со старыми версиями этих пакетов?
По-моему, с этими пакетами (которые у меня) все работает, как и
ожидается.
--
Best regards,
Ivan Z.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
next prev parent reply other threads:[~2001-09-24 18:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-23 10:38 Alexey Voinov
2001-09-23 17:04 ` Sergey Vlasov
2001-09-24 9:37 ` Dmitry V. Levin
2001-09-24 17:47 ` Alexey Voinov
2001-09-24 18:13 ` Ivan Zakharyaschev [this message]
2001-09-24 18:17 ` 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=Pine.LNX.4.33L.0109242204010.2021-100000@arrakis.zephyrous \
--to=imz@altlinux.ru \
--cc=devel@altlinux.ru \
--cc=devel@linux.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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git