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

Re: itp: static bins / resolving static debian issues



I think serial consoles are still developmental/experimental in Linux, 
but definately there's stuff in the new kernel about it, and it'll 
eventually come to pass.

Justin


On Sat, Aug 21, 1999 at 05:43:26PM +0200, Marek Habersack wrote:
> * Steve Willer said:
> > 
> > On Sat, 21 Aug 1999, Justin Wells wrote:
> > 
> > > So you need a way to get a root shell, without rebooting. That means
> > > you either need to log in as root (where root's shell is sash), or 
> > > else su to root. 
> > 
> > [or log in as that other uid=0 user]
> Provided you're at the console.
> 
> > > sulogin is needed in case you switch runlevels, dropping to single 
> > > user mode without rebooting, via a direct call to init.
> > 
> > I think you can do this without sulogin. Use the built-in 'ed' or 'echo'
> > to output a runlevel to /etc/initrunlvl, then send SIGHUP to init
> > (remember, kill and ps are built-in to sash as well). If you just want to
> > reboot, send SIGINT to pretend ctrl-alt-del. I haven't tried these yet,
> > but the init man page says you can do it...
> It also says the following:
> 
> 'Runlevel S or s bring the system to single user mode and do not require an
> /etc/inittab file.  In a single user mode, /sbin/sulogin is invoked on
> /dev/console'
> 
> As a side note... I wonder whether it is possible to use a normal serial
> modem to log directly into the console... Linux can use serial port on the
> console, and some Motorola modems (and some Zoltrix ones AFAIR) have a small
> OS built-in that allows a pass-through connection... Has anyone ever tried
> it?
> 
> marek
> 



Reply to: