[gobolinux-users] Autlogin on startup (console mode)

Lucas C. Villa Real lucasvr at gobolinux.org
Sun Apr 8 05:22:50 UTC 2007


On 4/7/07, Roebe XXX <shevegen at linuxmail.org> wrote:
> Hi there,
>
> A question:
>    This is on a machine that has no internet connection, only
> friends access it anyway etc. etc.
> The graphical autologin works easily, kdmrc takes care of
> it.
>
> As for the console login though (runlevel 2), what would be the
> easiest way to login a specific user without typing the name,
> and without typing the password (as now works in
> graphical mode already ...)?
>
> Solutions were offered to modify inittab file, but
> for some reason none of what i tried work (it said
> that id was respawning too quickly on tty... i tried agetty
> and rungetty so far)
>
> If one of you has a working solution...
> :)

A quick and dirty solution is to use '/bin/bash' (or '/bin/zsh') on
inittab. I think the following line should work:
1:2345:respawn:/System/Links/Executables/bash

You could also write a shell script to perform some more steps, such
as sourcing profiles and the like, but that will also require that you
modify inittab in the end.

-- 
Lucas
powered by /dev/dsp


More information about the gobolinux-users mailing list