On Tue, 5 Apr 2005, Nicolas [iso-8859-1] François wrote:
[..]
> Can you also try:
> login root FOO=BAR

[EMAIL PROTECTED] ~]# login root FOO=BAR
Password:
Not on system console
[EMAIL PROTECTED] ~]#

After above there is no new shell.

> login "root FOO=BAR"

[EMAIL PROTECTED] ~]# login "root FOO=BAR"
Password:
Login incorrect
login: root FOO=BAR
Password:
Not on system console

Does not work.

> login (and then specify root FOO=BAR after the prompt)

Seems this work only when logged from serial console 
(so .. getty is used in this case).

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

After above experiments seems thi is getty feacture.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]

Reply via email to