From: Lee Glidewell on
First of all, why: this is for a single-user laptop with an encrypted hard
drive. If someone gets past the initial passkey, they have all of my respect
as well as my data. I'm trying to cut down on the amount of typing I have to
do at startup (currently, between the hdd, the login, setting up wireless and
unlocking the keyring that stores my e-mail/web passwords, I type 4
passwords/-keys).

I have so far tried two autologin solutions: rungetty, and this script (named
as /sbin/autologin):
#!/bin/bash
exec 0</dev/$1 1>/dev/$1 2>&1
cat /etc/issue
shift
exec $*

I have setup tty1 to use these scripts for autologin, and get the same error
message with both. Here are the inittab lines I used for each of the two:
1:2345:respawn:/sbin/rungetty tty1 --autologin lee
and
1:2345:respawn:/sbin/autologin tty1 login -f lee

In both cases, the response I get is that the terminal is respawning too
frequently, and the terminal is locked for five minutes. I don't understand
the getty applications well enough to figure out what to do next.

What am I missing? :)

--
Lee Glidewell | PGP key: D5D686A7
lee.glidewell(a)gmail.com |


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Mumia W.. on
On 06/20/2008 12:43 AM, Lee Glidewell wrote:
> First of all, why: this is for a single-user laptop with an encrypted hard
> drive. If someone gets past the initial passkey, they have all of my respect
> as well as my data. I'm trying to cut down on the amount of typing I have to
> do at startup (currently, between the hdd, the login, setting up wireless and
> unlocking the keyring that stores my e-mail/web passwords, I type 4
> passwords/-keys).
>
> I have so far tried two autologin solutions: [ failed solutions snipped ]

Try this instead:

13:23:respawn:/sbin/getty -l /usr/local/bin/auto-login.2 -n 38400 tty13

-------auto-login.2-------
#!/bin/sh
/bin/login -f lee


If you experience problems with this, try removing the "-n" option. Then
all you need to do is to press any character at the login
prompt--followed by enter--and you're in as the user "lee."

BTW, the 13th virtual console is accessed through RightAlt+F1




--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Lee Glidewell on
On Friday 20 June 2008 12:20:12 am Mumia W.. wrote:
> On 06/20/2008 12:43 AM, Lee Glidewell wrote:
> > <snip>
> > I have so far tried two autologin solutions: [ failed solutions snipped ]
>
> Try this instead:
>
> 13:23:respawn:/sbin/getty -l /usr/local/bin/auto-login.2 -n 38400 tty13
>
> -------auto-login.2-------
> #!/bin/sh
> /bin/login -f lee
>
>
> If you experience problems with this, try removing the "-n" option. Then
> all you need to do is to press any character at the login
> prompt--followed by enter--and you're in as the user "lee."
>
> BTW, the 13th virtual console is accessed through RightAlt+F1

That did the trick (the -n option didn't work, though). Many thanks!

--
Lee Glidewell | PGP key: D5D686A7
lee.glidewell(a)gmail.com |


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org