1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
This is rungetty version 1.2. rungetty takes command of a virtual console and
runs any program on it. By default, it runs login. If a program is passed as a
paramater to rungetty from inittab, it will run that program. For example:
r1:12345:respawn:/sbin/rungetty tty1
r2:2345:respawn:/sbin/rungetty tty2 telnet mail.foo.com
r3:2345:respawn:/sbin/rungetty tty3 -u support top
Would run a local login on /dev/tty1, a telnet session to mail.foo.com on
/dev/tty2, and top on /dev/tty3. Note that the telnet will be run as the user
nobody, while top is run as user support. If the command isn't in /bin,
/usr/bin, /usr/ucb, or /usr/local/bin, the full pathname must be specified.
E-mail bug reports and bug fixes to jake@nodomainname.net.
|