Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #209709

Re: What is agetty, and why can't it be stopped?

From bw <bwtnguy@yahoo.com>
Newsgroups linux.debian.user
Subject Re: What is agetty, and why can't it be stopped?
Date 2019-06-07 00:20 +0200
Message-ID <y68TL-82H-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

In-Reply-To: <201906061506.20757.gheskett@shentel.net>

>On Thursday 06 June 2019 08:37:36 am bw wrote:
>>
>> In-Reply-To: <[????] 201906052204.09390.gheskett@shentel.net>
>> <snip>
>>
>> >So what I'd like for it to do, is be totally silent during the rest
>> > of this machines boot, and once a user, me, is logged in, go away
>> > just as silently, freeing the only serial hardware port for my own
>> > use.
>>
>> ...
>>
>> I think the first place I'd look is:
>>
>> man logind.conf
>>
>> there may be something there to help you figure it out.  Then look
>> into override if necessary with something like:
>>
>> systemctl edit getty@.service
>
>Might be, but the dead keyboard hit it 30 minutes back so I rebooted and 
>now its normal.  I need a near beer.
>
>Cheers, Gene Heskett
>-- 
>"There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
>-Ed Howdershelt (Author)
>Genes Web page <http://geneslinuxbox.net:6309/gene>

You have a definite style Gene, and a tenaciousness that I really admire.  
I'm assuming after all this time you are doing some work and have a 
functioning system going, congratulations.

For future reference, you can prevent any systemd service from starting by 
putting a link to /dev/null in /etc/systemd/system AFAIK that is exactly 
what 'systemctl mask' does, but the benefit from using systemctl is it 
also checks your spelling.

I don't think all the 6 getty@ services are started at boot like with 
inittab, the particualt getty appears after the VT is activated.  You can 
mask one or override it as you want with systemctl edit getty@ttyWHATEVER 
and this is pretty cool.  You could setup things to do whatever when any 
particular VT is activated.

good luck
bw

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: What is agetty, and why can't it be stopped? bw <bwtnguy@yahoo.com> - 2019-06-07 00:20 +0200
  Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-07 07:30 +0200
    Re: What is agetty, and why can't it be stopped? Jonathan Dowland <jmtd@debian.org> - 2019-06-07 12:30 +0200
      Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-07 17:50 +0200
        Re: What is agetty, and why can't it be stopped? Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-07 21:30 +0200
        Re: What is agetty, and why can't it be stopped? Jonathan Dowland <jmtd@debian.org> - 2019-06-07 21:30 +0200
          Re: What is agetty, and why can't it be stopped? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-07 21:40 +0200
          Re: What is agetty, and why can't it be stopped? rhkramer@gmail.com - 2019-06-07 23:20 +0200
          Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-08 03:50 +0200
            Re: What is agetty, and why can't it be stopped? <tomas@tuxteam.de> - 2019-06-08 11:00 +0200
              Re: What is agetty, and why can't it be stopped? Étienne Mollier <etienne.mollier@mailoo.org> - 2019-06-08 11:10 +0200
                Re: What is agetty, and why can't it be stopped? Jonathan Dowland <jmtd@debian.org> - 2019-06-08 11:30 +0200
                Re: What is agetty, and why can't it be stopped? andreimpopescu@gmail.com - 2019-06-29 08:50 +0200
              Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-08 17:30 +0200
                Re: What is agetty, and why can't it be stopped? Brian <ad44@cityscape.co.uk> - 2019-06-08 21:30 +0200
        Re: What is agetty, and why can't it be stopped? Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-07 21:30 +0200
          Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-08 03:40 +0200
      Re: What is agetty, and why can't it be stopped? Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-07 21:30 +0200
        systemd-nspawn (was Re: What is agetty, and why can't it be stopped?) Jonathan Dowland <jmtd@debian.org> - 2019-06-07 22:00 +0200
        Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-08 03:40 +0200

csiph-web