tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: screen, console & ttys



Marcin Jessa --> tech-embed (2005-07-04 01:01:46 +0200):
> On Fri, 1 Jul 2005 00:46:31 +0200
> Jukka Salmi <j+nbsd%2005.salmi.ch@localhost> wrote:
> 
> > Marcin Jessa --> tech-embed (2005-06-30 22:40:43 +0200):
> > > Ok, then invoking login with automatic login will do since then I can use 
> > > serial and screen console at the same time with wscons.
> > > Gotta just figure out how to disable login prompt...
> > > Any ideas?
> > 
> > Booting single-user? 
> It needs to be done automatically so this would not work for me.
> Anyway, single user mode does not execute any of the parts needed for wscons 
> to show screen console when running installboot with console=com0

You can set `options RB_SINGLE=1' in your kernel config file to have the
system boot to single user automatically.


> >Or setting the second field in /etc/ttys to something
> > which does what you want?
> What do you mean? ttyE0 ?
> Executing /usr/libexec/getty Pc console will automatically start login 
> session prompting for username. I would somehow need to make getty not to 
> prompt for username (login:) and not execute the login binary.

I meant something like

        console "/bin/sh /your/login/script" vt100 on secure

in your /etc/ttys.


HTH, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~



Home | Main Index | Thread Index | Old Index