Kenshi, could you help the shadow package and shadow upstream maintainer on that issueÂ: 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Â; 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Åoczko <[EMAIL PROTECTED]> ----- Date: Tue, 5 Apr 2005 19:44:21 +0200 (CEST) From: Tomasz KÅoczko <[EMAIL PROTECTED]> To: Christian Perrier <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], debian-bugs-dist@lists.debian.org, Shadow package maintainers <[EMAIL PROTECTED]> Subject: Re: [Pkg-shadow-devel] Bug#95213: Passing env variables after the login name does not work On Mon, 4 Apr 2005, Christian Perrier wrote: > tags 95213 confirmed upstream > severity 95213 minor > thanks > > I have confirmed the symptoms described in this bug report: > > [EMAIL PROTECTED]:~# login > mykerinos login: tintin TEST=HOP > Password: <<<<correct password > Login incorrect > > 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/Linux > You have mail. > [EMAIL PROTECTED]:/home/tintin$ > > 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 (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 src/{de,hu,pl}/login.1 but I need help on update ja/login.1. kloczek -- ----------------------------------------------------------- *Ludzie nie majÄ problemÃw, tylko sobie sami je stwarzajÄ* ----------------------------------------------------------- Tomasz KÅoczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED] ----- End forwarded message ----- --
.\"$Id: login.1,v 1.8 2005/04/05 19:08:55 kloczek Exp $ .\" Copyright 1989 - 1994, Julianne Frances Haugh .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka .\" all rights reserved. .\" Translated Fri Feb 14 23:06:00 JST 1997 .\" by Kazuyoshi Furutaka <[EMAIL PROTECTED]> .\" Updated Fri Jan 12 04:05:44 JST 2001 .\" by Kentaro Shirakata <[EMAIL PROTECTED]> .\" Modified Tue 16 Sep 2002 by NAKANO Takeo <[EMAIL PROTECTED]> .\" .TH LOGIN 1 .SH ÌÁ login \- ¥·¥¹¥Æà¾å¤Ç»¥Ã·¥ç¥ó¤ò¯ .SH ½ñ¼° \fBlogin\fR [\fB\-p\fR] [\fIusername\fR] [\fIENV=VAR\fR ...] .br \fBlogin\fR [\fB\-p\fR] [\fB\-h\fR \fIhost\fR] [\fB\-f\fR \fIusername\fR] .br \fBlogin\fR [\fB\-p\fR] \fB\-r\fR \fIhost\fR .SH ÀâÌÀ .B login ¤Ï·¥¹¥Æà¤Ë·¤¿¤Ë»¥Ã·¥ç¥ó¤ò¯¤¿¤á¤ËÍѤ¤é¤ì¤ë ÄÌï¤Ï¢¥æ¥¶¤ÎÃËö¤Ëɼ¨¤µ¤ì¤ë .I login: ¤È¤¤¦¥×í¥ó¥×ÈËþ¤¸¤ë»ö¤Ëè¤ÃÆ«ÆŤ˯Ƥµ¤ì¤ë .B login ¤Ï·¥§¥ëÀìÍÑÎâ¤ÎÇ¢¤ê ¥µ¥Ö×í¥¹¤È·¤Æ¯Æ¤¹¤ë¤ÈÏǤʤ¡£ ÄÌ不¥ë¤Ï .B login ¤ò \fBexec login\fR ¤Èßʹ¤ÎÇ¢¥æ¥¶¤Ï½ºß祧¥ë¤éȤ±¤ë¤ÈËÊë ¥í¥¤¥ó§¥ë°Ê°¤«¤é \fBlogin\fR ¤òµ¯Æ¤·¤è¤È¹¤ë¤È¢ ¥¨¥é¥á¥Ã»¡¼¥¸¤¬É¼¨¤µ¤ì¤ë .PP \fIlogin:\fR¥×í¥ó¥×È«¤éƤ·¤¿ºÝÏ¢ ¥æ¥¶Ì¤Ë¤¤¤ÆÄÊÑô¤òÆþÎϹ¤ë»ö¤â¤Ç¤ë ¤½¤ì¤é¤òÆþÎϹ¤ë¾ì¹ç¤Ï \fBNAME=VALUE\fR ¤È¤¤¦½ñÇÔ¦¡£ ¤³¤ÎÊýˤÇÁ¤ÆÎÊÑô¤òÀßÄê¤Ç¤ë¤ï¤ÇÏʤ¡£ Îã¤Ð \fBPATH\fR, \fBHOME\fR, \fBSHELL\fR ¤ÊÉÏÀßÄê¤Ç¤Ê¤¡£ ¤µ¤é¤Ëí¥¤¥ó§¥ë \fB/bin/sh\fR ¤Îì¹ç¤Ï \fBIFS\fR ¤âÀßÄê¤â¤Ç¤Ê¤¡£ .PP ¼¡¤¤¤Ç¢ÉÍ×Êì¹ç¤ËÏ¢¥æ¥¶¤Ïѹ¥ï¥ÉòÆþÎϹ¤ë¤è¤µ¤ì¤ë ¥Ñ¹¥ï¥Éòɼ¨¤·¤Æ·¤Þï¤Ê¤¤è¡¢¥¨¥³¡¼¤ÏÔï¤ì¤Ê¤¡£ ¿ô²ó°Êå¥Ñ¹¥ï¥ÉÆþÎÏ˺ÇÔ¹¤ë¤È \fBlogin\fR ¤ÏªÎ¤·¡¢ÄÌ®¤ÎÀܤÏÀÚÃǵ¤ì¤Æ·¤Þ¦¡£ .PP ¥¢¥«¥¦¥ó¥ÈËÂз¤Æѹ¥ï¥ÉÎ͸ú´ü¸Â¬ÀßÄê¤ì¤Æ¤¤ë¾ì¹ç¤Ï¢ Àè¤ËÊàÁ¤Ë·¤·¤¤¥Ñ¹¥ï¥ÉÎÀßÄê¤ò¤µ¤ì¤ë¤Èâ¤ë ¥»¥Ã·¥ç¥ó¤ò¤±¤ë¤á¤ËÏŤ¥Ñ¹¥ï¥ÉÈ ¿·¤·¤¤¥Ñ¹¥ï¥ÉòÆþÎÏ·¤Ê¯¤ÆÏÊé¤Ê¤¡£ ¾Ü·¤¤¾ðÊó¤Ï \fBpasswd\fR(1) ¤òȹ¤ë¤È£ .PP ¥í¥¤¥ó¤ËÀ¸ù¤¹¤ë¤È¢¥·¥¹¥Æà¥á¥Ã»¡¼¥¸¤ä¥á¥ë¤ÎÍ̤¬É¼¨¤µ¤ì¤ë ¥í¥¤¥ó¥Ç£¥ì¥Èê¤ËĤµ 0 ¤ÎÕ¡¥¤¥ë \fI.hushlogin\fR ¤òºî¤Ãƪ¤±¤Ð¢ ¥·¥¹¥Æà¥á¥Ã»¡¼¥¸¥Õ¡¥¤¥ë¤Ç¢¤ë \fI/etc/motd\fR ¤Îɼ¨¤ò̸ú¤ËÇ¤ë ¥á¥ë¤Ëع¤ë¥á¥Ã»¡¼¥¸¤Ï¢¥á¥ë¥Ü凉¤ÎõÂÖËè¤ÃÆ "\fBYou have new mail.\fR", "\fBYou have mail.\fR", "\fBNo Mail.\fR" ¤Î¤¤º¤ì¤ËÊë .PP ¥æ¥¶ ID ¤È°¥ë¥×Î ID ¤Ï \fI/etc/passwd\fR ¥Õ¡¥¤¥ëÃæ¤ËºÜµ¤ì¤Æ¤¤ëÃÍ˾¤ÃÆÀßÄê¤ì¤ë \fB$HOME\fR, \fB$SHELL\fR, \fB$PATH\fR, \fB$LOGNAME\fR, \fB$MAIL\fR ¤ÎÃÍÏ¢¥Ñ¹¥ï¥É¨¥ó¥Èê¤Î½¤ì¤ì¤ÎÕ£¡¼¥ë¥É˾¤ÃÆÀßÄê¤ì¤ë ulimit, umask, nice Ãͬ¡¢ GECOS ¥Õ£¡¼¥ë¥ÉΨ¥ó¥Èê¤Ëè¤ÃÆÀßÄê¤ì¤ë¤Èâ¤ë .PP ¥¤¥óȼ¥ë»þ¤ÎÀßÄê¤Ëè¤ÃÆÏ¢ \fI/etc/ttytype\fR ¤ÎØÄê¤Ë¾¤ÃÆ¢ ´ÄÊÑô\fB$TERM\fR¤¬ tty ÀܤÎÃËö¤Î¿ (terminal type) ¤Ëé´üì¤ë¤Èâ¤ë .PP ¥³¥Þó¥É¤¥ó×ê¤Îé´ü¯¥ê¥×Ȭ¼ÂÔµ¤ì¤ë¤Èâ¤ë ¤³¤Î¡Ç¤ËĤ¤ÆÎÜ·¤¤¾ðÊó¤ÏÅÅö¤ÊÞËå¥ë¥¯¥·¥ç¥ó¤òÈγ¤È£ .PP ¥µ¥Ö·¥¹¥Æà¥í¥¤¥ó¤ÇÏ¢ ¥í¥¤¥ó§¥ë¤ÎÇé¤ÎÊ»ú¤Ë "*" ¤òÃÖ¯¡£ Åϵ¤ì¥Û¼¥à¥Ç£¥ì¥Èê¤Ï¢ ¥æ¥¶¤¬¼ÂÝËí¥¤¥ó뤷¤¤¥Õ¡¥¤¥ë¥¹¥Æà¤Îë¥ÈÈ·¤Æ·¤ï¤ì¤ë .SH ¥ª¥×·¥ç¥ó .TP .B \-p ´Ä¤òÊݤ¹¤ë .TP .B \-f ¥æ¥¶¤Ï¹¤ÇËǾڵ¤ì¤Æ¤¤ë¤â¤ÎÈ·¤Æ¢Ç¾Úƺî¤ò¹ÔÊï¤Ê¤¡£ .TP .B \-h ¤³¤Îí¥¤¥ó¤Îê¥â¥ÈÛ¹¥ÈÎÌÁ¡£ .TP .B \-r rlogin ¤Î«Æ¥í¥¤¥ó¥×í¥È³¥ë¤ò¼ÂÔ¹¤ë .PP \fB\-r\fP, \fB\-h\fP, \fB\-f\fP ¥ª¥×·¥ç¥ó¤Ï¢ root ¤¬ \fBlogin\fP ¤òµ¯Æ¤·¤¿¾ì¹ç¤ËÎßÍѤ¤ë .SH ·Ù𠤳¤ÎÈÇÎ \fBlogin\fR ¤ËϤ¯¤Î³¥ó¥Ñ¤¥ë»þ¥ª¥×·¥ç¥ó¢¤ë¡¢ ¥µ¥¤¥ÈËè¤ÃÆϳ¤Î¦¤ÁÎìÉô«»Èï¤ì¤Æ¤¤Ê¤¤«¤â¤ì¤Ê¤¡£ .PP ¥·¥¹¥ÆàÀßÄê¤Îã¤Ëè¤ÃÆå¥Õ¡¥¤¥ë¤ÎÃÖ¾ì½ê¤ÏÊÑï¤ë .SH ¥Õ¡¥¤¥ë \fI/var/log/utmp\fR \ \- ¸½ºßÎí¥¤¥ó÷¥ç¥ó¤Îê¥È .br \fI/var/run/wtmp\fR \ \- ²áµî¤Îí¥¤¥ó÷¥ç¥ó¤Îê¥È .br \fI/etc/passwd\fR \ \- ¥æ¥¶¥¢¥«¥¦¥ó¥ÈðÊó .br \fI/etc/shadow\fR \ \- °Åæ¥Ñ¹¥ï¥ÉÈ͸ú´ü¸ÂðÊó .br \fI/etc/motd\fR \ \- ¥·¥¹¥Æà¥á¥Ã»¡¼¥¸¥Õ¡¥¤¥ë .br \fI/etc/nologin\fR \ \- root °Ê°¤Î楶¤Îí¥¤¥ó¤ò¶Øß¹¤ë .br \fI/etc/ttytype\fR \ \- ÃËö¤Î¿¤Îê¥È .br \fI$HOME/.hushlogin\fR \- ¥·¥¹¥Æà¥á¥Ã»¡¼¥¸¤Îɼ¨¤òÍÞÀ¤¹¤ë .SH ´ØϹàÌÜ .BR mail (1), .BR passwd (1), .BR sh (1), .BR su (1), .\" .BR d_passwd (5), .BR login.defs (5), .BR nologin (5), .BR passwd (5), .BR getty (8) .SH Ãø¼Ô Julianne Frances Haugh <[EMAIL PROTECTED]>