3 # This is a sample "login dispatcher" configuration file for mgetty
6 # username userid utmp_entry login_program [arguments]
9 # for a "username" entered at mgettys login: prompt, call
10 # "login_program" with [arguments], with the uid set to "userid",
11 # and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
13 # username may be prefixed / suffixed by "*" (wildcard)
15 # userid is a valid user name from /etc/passwd, or "-" to not set
16 # a login user id and keep the uid/euid root (needed for /bin/login)
18 # utmp_entry is what will appear in the "who" listing. Use "-" to not
19 # set an utmp entry (a must for /bin/login), use "@" to set it to the
20 # username entered. Maximum length is 8 characters.
22 # login_program is the program that will be exec()ed, with the arguments
23 # passed in [arguments]. A "@" in the arguments will be replaced with the
24 # username entered. Warning: if no "@" is given, the login_program has
25 # no way to know what user name the user entered.
29 # Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
30 # (Big advantage: tuucp can use the same passwd file for serial dial-in
31 # and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
33 #U* uucp @ /usr/sbin/uucico -l -u @
36 # Use this one for fido calls (login name /FIDO/ is handled specially)
38 # You need Eugene Crosser's "ifmail" package for this to work.
39 # mgetty has to be compiled with "-DFIDO", otherwise a fido call won't
42 #/FIDO/ uucp fido /usr/lib/fnet/ifcico @
45 # Automatic PPP startup on receipt of LCP configure request (AutoPPP).
46 # mgetty has to be compiled with "-DAUTO_PPP" for this to work.
47 # Warning: Case is significant, AUTOPPP or autoppp won't work!
48 # Consult the "pppd" man page to find pppd options that work for you.
50 # NOTE: for *some* users, the "-detach" option has been necessary, for
51 # others, not at all. If your pppd doesn't die after hangup, try it.
53 # NOTE2: "debug" creates lots of debugging info. LOOK AT IT if things
54 # do not work out of the box, most likely it's a ppp problem!
56 # NOTE3: "man pppd" is your friend!
58 # NOTE4: max. 9 arguments allowed.
60 #/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
64 # An example where no login name in the argument list is desired:
65 # automatically telnetting to machine "smarty" for a given login name
67 #telnet-smarty gast telnet /usr/bin/telnet -8 smarty
69 # This is the "standard" behaviour - *dont* set a userid or utmp
70 # entry here, otherwise /bin/login will fail!
71 # This entry isn't really necessary: if it's missing, the built-in
72 # default will do exactly this.
75 #root root root /bin/bash -l
76 root root root /bin/zsh -l