On Sat, 12 Aug 2017 07:51:46 -0400,
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.

Would not you have to do this for each device, so maybe killall agetty
or some such?

Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici

Reply via email to