blob: a4ecba6d69f5dfd9f25d6805ce83c6507065c59d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
This is a program you can use to automatically log in on a workstation when
it boots. Look for a line in /etc/inittab that looks like this:
1:2345:respawn:/sbin/mingetty tty1
Replace it with this:
1:2345:respawn:/sbin/autlogin tty1 joeuser
And joeuser will be logged in automatically when the system boots. To have
some command other than a shell started, supply it as a third argument:
1:2345:respawn:/sbin/autlogin tty1 joeuser startx
Note that this is a potential security risk that's big enough to drive a truck
through, and it's only guaranteed to work with pam_unix and possibly pam_pwdb.
Consider yourself warned.
Nalin Dahyabhai <nalin@redhat.com>
|