summaryrefslogtreecommitdiffstats
path: root/autologin.8
blob: 8ff7ac31c26d23d5f55fc2b37cf2468976c81e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.TH AUTOLOGIN 8 "Red Hat, Inc." "Red Hat Linux" \" -*- nroff -*-
.SH NAME
autologin \- run a program without having to log in first
.SH SYNOPSIS
.B autologin
\fItty\fP \fIuser\fP [command]
.SH DESCRIPTION
.B autologin
opens a specified terminal, becomes the specified user, and will either
start an interactive shell or run a specified command.  This is intended
for use in your \fB/etc/inittab\fP file, but can be used elsewhere.

.SH OPTIONS
.TP
.I tty
The name of the TTY device to use.  Most of the time this will be one of
the virtual consoles, numbered from \fBtty1\fP to \fBtty12\fP.  The \fB/dev\fP
prefix can be omitted.
.TP
.I user
The name of the user to become.  Autologin will drop privileges to those of this
user before doing anything else.
.TP
.I command
An optional command to run.  It must be a binary, either in the default PATH, or
given as a full pathname.  If no command is specified, the user's shell will be
started interactively.
.SH AUTHOR
Nalin Dahyabhai <nalin@redhat.com>