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

Re: root console at startup?



On Fri 23 Oct 2015 at 14:18:13 +0100, Jim Ottaway wrote:

> >>>>> Brian  <ad44@cityscape.co.uk> writes:
> > Please see the manual for systemd-debug-generator and try
> 
> >   systemctl stop debug-shell.service
> 
> > tty9 should become unresponsive.
> 
> > Then
> 
> >   systemctl disable debug-shell.service
> 
> > The behaviour you describe is not normal here. Having a root shell
> > always open is a security risk.
> 
> Thank you. That seems to have worked; I did feel queasy seeing a
> persistent root shell running that I didn't know about like that.
> 
> Any idea how I might have enabled the debug-shell service without my
> noticing? Perhaps it's an option in the install process?

It definitely isn't an option offered by the installer. The only way I
can see to get a root shell on tty9 on booting is by doing

  systemctl enable debug-shell.service

beforehand. Surely you would notice that? :)


Reply to: