Dumas Patrice <dumas@centre-cired.fr> wrote:
> On Mon, Dec 03, 2001 at 11:23:48AM -0500, Paul Jarc wrote:
>> Dumas Patrice <dumas@centre-cired.fr> wrote:
>> > #to show the problem
>> > 1:3:respawn:/sbin/rungetty tty1 -u root -g root --noclear -- /bin/bash
>> > --login
>> > 4:4:respawn:/sbin/rungetty tty1 -u root -g root --noclear --
>> > /bin/start_test
>>
>> I think init doesn't like this. The first field should correspond to
>> the tty, so using id "4" with tty1 won't work. It follows that you
>
> I sent a mail to the author of init (in linux) and he said that this wasn't
> true, that the id was nothing more than a 4 char identifier.
What init are you using? I know that isn't true for RedHat's
SysVinit. The identifier is also used for utmp accounting. From the
inittab man page:
Note: For gettys or other login processes, the id
field should be the tty suffix of the corresponding
tty, e.g. 1 for tty1. Otherwise, the login
accounting might not work correctly.
Have you tried doing what I said?
paul