diff options
Diffstat (limited to 'autologin.8')
-rw-r--r-- | autologin.8 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/autologin.8 b/autologin.8 new file mode 100644 index 0000000..8ff7ac3 --- /dev/null +++ b/autologin.8 @@ -0,0 +1,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> |