Bug#95213: (forw) Re: [Pkg-shadow-devel] Bug#95213: Passing env variables after the login name does not work

Christian Perrier Christian Perrier <bubulle@debian.org>, 95213@bugs.debian.org
Wed, 6 Apr 2005 08:28:08 +0200


--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by onera.onera.fr id j366S9k9002730

Kenshi, could you help the shadow package and shadow upstream
maintainer on that issue=C2=A0: http://bugs.debian.org/95213?

In short, the login man page mentions the ability to pass environment
variables along with the user name at login prompt.

It appears that this feature does not work in all cases and the
discussion concluded it would be better to remove this from the man
page.

Tomasz, upstream author, did so for the en man page as well as several
translations=C2=A0; but cannot do it for the Japanese man page.

Could you help us in removing that part in the attached file?

Please send the corrected file to bug 95213....


----- Forwarded message from Tomasz K=C5=82oczko <kloczek@zie.pg.gda.pl> =
-----

Date: Tue, 5 Apr 2005 19:44:21 +0200 (CEST)
From: Tomasz K=C5=82oczko <kloczek@zie.pg.gda.pl>
To: Christian Perrier <bubulle@debian.org>, 95213@bugs.debian.org
Cc: control@bugs.debian.org, debian-bugs-dist@lists.debian.org,
	Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
Subject: Re: [Pkg-shadow-devel] Bug#95213: Passing env variables after th=
e
 login name does not work

On Mon, 4 Apr 2005, Christian Perrier wrote:

> tags 95213 confirmed upstream
> severity 95213 minor
> thanks
>=20
> I have confirmed the symptoms described in this bug report:
>=20
> root@cc-mykerinos:~# login
> mykerinos login: tintin TEST=3DHOP
> Password:                          <<<<correct password
> Login incorrect
>=20
> mykerinos login: tintin
> Password:                          <<<<correct password too
> Linux mykerinos 2.6.9-1-686 #1 Thu Nov 25 03:48:29 EST 2004 i686 GNU/Li=
nux
> You have mail.
> tintin@mykerinos:/home/tintin$=20
>=20
> And, as mentioned in the bug report, te env var passing at the login
> prompt is advertised in the login(1) man page)

login from Solaris do not have this kind abilities.
Also I don't see this kind abilities in oldest login.c code=20
(mantaining shadow in CVS was started in 1996).
So in next shadow (4.0.8) will be removed text about abilities to allow
pass envoroment variable in login prompt.

I'm identify text fragment about this abilities in=20
src/{de,hu,pl}/login.1 but I need help on update ja/login.1.

kloczek
--=20
-----------------------------------------------------------
*Ludzie nie maj=C4=85 problem=C3=B3w, tylko sobie sami je stwarzaj=C4=85*
-----------------------------------------------------------
Tomasz K=C5=82oczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.=
gda.pl*

----- End forwarded message -----

--=20




--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="login.1"
Content-Transfer-Encoding: base64
X-MIME-Autoconverted: from 8bit to base64 by onera.onera.fr id j366S9k9002730

LlwiJElkOiBsb2dpbi4xLHYgMS44IDIwMDUvMDQvMDUgMTk6MDg6NTUga2xvY3playBFeHAg
JA0KLlwiIENvcHlyaWdodCAxOTg5IC0gMTk5NCwgSnVsaWFubmUgRnJhbmNlcyBIYXVnaA0K
LlwiIEFsbCByaWdodHMgcmVzZXJ2ZWQuDQouXCINCi5cIiBSZWRpc3RyaWJ1dGlvbiBhbmQg
dXNlIGluIHNvdXJjZSBhbmQgYmluYXJ5IGZvcm1zLCB3aXRoIG9yIHdpdGhvdXQNCi5cIiBt
b2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQgdGhhdCB0aGUgZm9sbG93aW5n
IGNvbmRpdGlvbnMNCi5cIiBhcmUgbWV0Og0KLlwiIDEuIFJlZGlzdHJpYnV0aW9ucyBvZiBz
b3VyY2UgY29kZSBtdXN0IHJldGFpbiB0aGUgYWJvdmUgY29weXJpZ2h0DQouXCIgICAgbm90
aWNlLCB0aGlzIGxpc3Qgb2YgY29uZGl0aW9ucyBhbmQgdGhlIGZvbGxvd2luZyBkaXNjbGFp
bWVyLg0KLlwiIDIuIFJlZGlzdHJpYnV0aW9ucyBpbiBiaW5hcnkgZm9ybSBtdXN0IHJ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pK2k66GjDQqkvaTspOmk8sb+zs+kuaTrvuy556TPIFxmQk5BTUU9VkFMVUVcZlIgpMikpKSm
vfG8sKTHudSkpqGjDQqks6TOyv3LoaTHwbSkxqTOytG/9KTywN/E6qTHpK2k66TvpLGkx6TP
pMqkpKGjDQrO46SopNANClxmQlBBVEhcZlIsIFxmQkhPTUVcZlIsIFxmQlNIRUxMXGZSDQqk
yqTJpM/A38TqpMekraTKpKShow0KpLWk6aTLpe2lsKWkpfOlt6WnpeukrCBcZkIvYmluL3No
XGZSIKTOvuy556TPDQpcZkJJRlNcZlIgpOLA38TqpOKkx6StpMqkpKGjDQouUFANCryhpKSk
x6GiyazN16TKvuy556TLpM+hoqXmobyltqTPpdGluaXvobylyaTyxv7Oz6S5pOuk6KSmwqWk
taTspOuhow0KpdGluaXvobylyaTyyb28qKS3pMakt6TepO+kyqSkpOikpqGipails6G8pM+5
1KTvpOykyqSkoaMNCr/0svOwyr7lpdGluaXvobylycb+zs+ky7y6x9SkuaTrpMgNClxmQmxv
Z2luXGZSIKTPvarOu6S3oaLEzL+upM7A3MKzpM/A2sPHpLWk7KTGpLek3qSmoaMNCi5QUA0K
paKlq6WmpfOlyKTLwtCkt6TGpdGluaXvobylyaTOza24+rT8uMKkrMDfxOqktaTspMakpKTr
vuy556TPoaINCsDopMu/yqTgwbCky7+3pLekpKXRpbml76G8pcmkzsDfxOqk8sKlpLWk7KTr
pLOkyKTipKKk66GjDQqlu6XDpbel56XzpPLCs6SxpOukv6ThpMukz7jFpKSl0aW5pe+hvKXJ
pMgNCr+3pLekpKXRpbml76G8pcmk8sb+zs+kt6TKpK+kxqTPpMqk6aTKpKShow0Kvtykt6Sk
vvDK86TPIFxmQnBhc3N3ZFxmUigxKSCk8ruyvsikuaTrpLOkyKGjDQouUFANCqXtpbClpKXz
pMvArrj5pLmk66TIoaKlt6W5pcal4KXhpcOlu6G8pbik5KXhobyl66TOza3MtaSsyb28qKS1
pOyk66GjDQql7aWwpaSl86XHpaOl7KWv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