A "single user shell" is the shell you get if you boot with the "-s" flag, not the way your system is usually running.
-Toby. On Fri, Aug 2, 2013 at 9:02 AM, sven falempin <[email protected]> wrote: > Hello, > > For obscure reason i would like to have a root shell with no login on the > com port. > I of course get through man > ttys, getty, termcap, login ... > > Currently i have a <<working solution>> by modifying gettytab and > specifying lo string there. > Still, i have to enter <<root\n>> before getting the prompt. > > But the mail is more about this configuration : > > # cat /etc/ttys > console "/usr/libexec/getty std.9600" vt220 on secure > # cat /etc/boot.conf > stty com0 9600 > set tty com0 > > given my poor english I was expecting a prompt on my serial port, > but this is not working at all, while this: > > # cat /etc/ttys > tty00 "/usr/libexec/getty std.9600" vt220 on secure > > gives a login prompt as expected. > > Is the manual unclear (or not clear enough for me...) or ??? something else > is missing ? (like saying console is on tty00) > > << > secure > If on is also specified, allows users with a UID of 0 to log in > on this line. If set for the console entry, then init(8) will > start a single-user shell without asking for the superuser > password. >>> > > this is done on 5.3 stable > > -- > --------------------------------------------------------------------------------------------------------------------- > () ascii ribbon campaign - against html e-mail > /\
