Rich Freeman wrote:
> On Sat, Aug 12, 2017 at 4:22 AM, Matthias Hanft <m...@hanft.de> wrote:
>> Dale wrote:
>>> I do it this way.
>>> pkill agetty
>>> Simple, quick and easy to remember. One could script it I guess???
>> I'm pretty sure this would work, but is there something which would
>> start them again? As far as I understand, these are the processes
>> that provide console login - correct? Normally, I log in using ssh
>> via network, but I would be a little upset if I couldn't log in at
>> the console any more...
> Agetty is started by init, so it will be restarted if it dies.
> sysvinit does all of about 3 things in total, and this is one of them.
Correct. I should have mentioned that in my post but assumed it would
be known. Anytime agetty is killed, it just pops back up. I suspect it
doesn't stay dead for even a second. Sort of like those zombie movies.