LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   disable agetty (https://www.linuxquestions.org/questions/slackware-14/disable-agetty-205265/)

muhkuhmasta 07-15-2004 03:00 AM

disable agetty
 
which script do I have to edit in order to remove all those agettys? I don't want seven or so ttys two or three would be enough for me...

___________________

ignore this I found the solution

Quote:

To be a bit more precise:

Change the following lines in /etc/inittab

code:

c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux



To

code:

c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

__________________
/etc/inittab /etc/inittab

Genesee 07-15-2004 11:18 AM

:confused: the solution posted will add tty's in runlevel 4....

if you don't want to run them at all, you could comment out the respective lines with "#"

muhkuhmasta 07-15-2004 03:50 PM

it was about the file, which is the same i suppose but thanks ;)


All times are GMT -5. The time now is 07:48 PM.