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

Re: controlling installation from a serial terminal



On Sun, Jan 24, 1999 at 12:22:17PM -0500, James R. Van Zandt wrote:
> One question: I would like to enable serial port logins after the
> second boot by adding the appropriate lines to /etc/inittab.  I see
> these options:
> 
>  - Incorporate the change into the standard files.  Would that
> represent a security problem or something?
>  - Add code to dinstall or something to make the change if the
> console=/dev/ttyS? boot parameter was specified.

Have you seen utilities/dinstall/baseconfig.c: update_console_info()? 
It probably does what you want.

>  - dinstall makes the change, but asks the user first.
> 
> I suppose I am stuck asking for a special kernel for this option.
> (The CONFIG_SERIAL_CONSOLE probably would not hurt, but some some may
> not want CONFIG_SERIAL.)  I would hope eventually to incorporate the
> necessary changes into the standard rescue floppy and base.tgz,
> though.

If the kernel is not much bigger than our default one, it's OK for me.

	Thanks,
--
Enrique Zanardi					   ezanardi@ull.es


Reply to: