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

Nicolas François Nicolas François , 95213@bugs.debian.org
Tue, 5 Apr 2005 23:52:47 +0200


On Tue, Apr 05, 2005 at 10:35:21PM +0200, Tomasz KÅ‚oczko wrote:
> I'm wrote "login from Solaris do not have this kind abilities" only aft=
er 
> reading Solaris login(1) man page text. But now ..
> 
> v440 console login: root FOO=BAR
> Password:
> Last login: Sat Apr  2 09:29:02 from test1.zie.pg.gd
> Apr  5 22:15:17 v440 login: ROOT LOGIN /dev/console
> Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
> [root@v440 ~]# echo $FOO
> BAR

Can you also try:
login root FOO=BAR
login "root FOO=BAR"
login (and then specify root FOO=BAR after the prompt)

I'm asking this because I would like to see if the environments variables
should be parsed by login or by getty.

Thanks in advance,
-- 
Nekral