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


Groups > linux.debian.user > #209668

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

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject What is agetty, and why can't it be stopped?
Date 2019-06-06 04:10 +0200
Message-ID <y5Q0N-4X2-1@gated-at.bofh.it> (permalink)
Organization none,nada,zip

Show all headers | View raw


Greetings all;

This machine has only one serial port, which I normally use a session of  
minicom to connect as a terminal quit a bit dumber than a vt102, to a 
TRS-80 Color Computer 3 in the basement. But my normal config for 
minicom is /dev/ttyS0, but it claims the device is taken.

Sure enough, an lsof|grep ttyS0 shows an agetty attached to it.  And a 
killall agetty as root only changes its pid until I've done the killall 
as rapidly as I can uparrow and repeat it 6 or 7 times.

grepping thru  /etc does not seem to find any hits, so I've no clue whats 
starting it.  So next I will do a search thru synaptic and remove it if 
it will let me, or somehow disable it forever.

And the search for agetty in synaptic is also empty.
But as root, a locate agetty hits paydirt.

root@coyote:~$ locate agetty
/sbin/agetty
/usr/share/doc/util-linux/modems-with-agetty.txt
/usr/share/man/man8/agetty.8.gz

And the man 8 agetty page seems to indicate its a serial connection, I've 
heard of as being available for troubleshooting even if its not fully 
booted. Great, except I'm not sure I could go to the coco's keyboard and 
run supercomm to see into linux, never tried it. In any event, the coco 
is expecting a cr, and will respond by launching a shell bound to that 
serial port on its end of the cable.

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.

Next problem with minicom running as me is that it has no permissions to 
save as its .dfl, the options it needs to Just Work as opposed to 
messing around in its config screens finding a group of setting that 
will work with the shells available on the coco, which of course is not 
running its native rsdos, but a unix like system called nitros9 these 
days.  Its os9 plus a few shots of unix testosterone.
  
What do I do next to get rid of this nearly invisible agetty gizmo once 
this machine is booted?  It might be handy if this machine is truly 
hung, but I can count those instances on one hand with fingers left over 
in the 21 years I have been a linux only house.

Thanks all;

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>

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


Thread

What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-06 04:10 +0200
  Re: What is agetty, and why can't it be stopped? Miles Fidelman <mfidelman@meetinghouse.net> - 2019-06-06 04:50 +0200
  Re: What is agetty, and why can't it be stopped? Felix Miata <mrmazda@earthlink.net> - 2019-06-06 04:50 +0200
    Re: What is agetty, and why can't it be stopped? David Wright <deblis@lionunicorn.co.uk> - 2019-06-06 05:20 +0200
      Re: What is agetty, and why can't it be stopped? Miles Fidelman <mfidelman@meetinghouse.net> - 2019-06-06 17:00 +0200
  Re: What is agetty, and why can't it be stopped? <tomas@tuxteam.de> - 2019-06-06 09:30 +0200
    Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-06 13:20 +0200
      Re: What is agetty, and why can't it be stopped? Erik Christiansen <dvalin@internode.on.net> - 2019-06-06 13:40 +0200
        Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-06 14:20 +0200
    Re: What is agetty, and why can't it be stopped? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-06 14:30 +0200
      Re: What is agetty, and why can't it be stopped? <tomas@tuxteam.de> - 2019-06-06 14:40 +0200
        Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-06 21:10 +0200
    Re: What is agetty, and why can't it be stopped? Miles Fidelman <mfidelman@meetinghouse.net> - 2019-06-06 17:00 +0200
  Re: What is agetty, and why can't it be stopped? Michael Stone <mstone@debian.org> - 2019-06-07 18:00 +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? Michael Stone <mstone@debian.org> - 2019-06-08 04:10 +0200
        Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-08 05:50 +0200
          Re: What is agetty, and why can't it be stopped? deloptes <deloptes@gmail.com> - 2019-06-08 07:20 +0200
            Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-08 10:50 +0200
              Re: What is agetty, and why can't it be stopped? deloptes <deloptes@gmail.com> - 2019-06-08 16:30 +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? Erik Christiansen <dvalin@internode.on.net> - 2019-06-09 09:20 +0200
                Re: What is agetty, and why can't it be stopped? Jonathan Dowland <jmtd@debian.org> - 2019-06-09 10:10 +0200
                Re: What is agetty, and why can't it be stopped? <tomas@tuxteam.de> - 2019-06-09 10:30 +0200
                Re: What is agetty, and why can't it be stopped? Curt <curty@free.fr> - 2019-06-09 12:00 +0200
                Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-09 13:10 +0200
                Re: What is agetty, and why can't it be stopped? Erik Christiansen <dvalin@internode.on.net> - 2019-06-09 17:00 +0200
                Re: What is agetty, and why can't it be stopped? Brian <ad44@cityscape.co.uk> - 2019-06-09 20:20 +0200
                Re: What is agetty, and why can't it be stopped? Erik Christiansen <dvalin@internode.on.net> - 2019-06-10 06:10 +0200
  Re: What is agetty, and why can't it be stopped? Curt <curty@free.fr> - 2019-06-10 10:50 +0200
    Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-10 13:20 +0200
      Re: What is agetty, and why can't it be stopped? Curt <curty@free.fr> - 2019-06-10 15:50 +0200
        Re: What is agetty, and why can't it be stopped? Michael Stone <mstone@debian.org> - 2019-06-10 16:20 +0200
        Re: What is agetty, and why can't it be stopped? Gene Heskett <gheskett@shentel.net> - 2019-06-10 18:00 +0200

csiph-web