LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-15-2004, 03:00 AM   #1
muhkuhmasta
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
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

Last edited by muhkuhmasta; 07-15-2004 at 03:15 AM.
 
Old 07-15-2004, 11:18 AM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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 "#"
 
Old 07-15-2004, 03:50 PM   #3
muhkuhmasta
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Original Poster
Rep: Reputation: 15
it was about the file, which is the same i suppose but thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hacking agetty for lfs Yerp Linux From Scratch 3 05-23-2005 05:49 AM
agetty hangs on 10.1 Barx Slackware 5 04-20-2005 08:16 PM
agetty slack66 Linux - Networking 0 01-03-2005 09:48 AM
/sbin/agetty missing?! flamesrock Linux - Software 1 12-03-2004 12:00 AM
agetty process? Smokey Slackware 2 10-31-2004 04:30 PM


All times are GMT -5. The time now is 08:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration