LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2009, 03:54 PM   #1
Heber
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
temporarily disable tty login


Hello,

I need to be able to have normal use of the serial port, but currently the terminal login is interfering with my program. Anyone know how to quickly and temporarily disable the serial login? Thanks,
-Heber
 
Old 05-05-2009, 10:46 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You are not telling us your distro, so it is more difficult to help you.

If your distro has the file /etc/inittab then find the entry that refers to whatever is respawning the getty process for ttyx (your serial port) is, and comment it out.

Then you'll either have to reboot, or kill the getty process for the serial port you do not want a login manager sitting on. You can't just kill it without first editing /etc/inittab because otherwise it'll just be respawned.

If you are using a recent ubuntu, take a look in /etc/event.d/ttyx

Last edited by tredegar; 05-05-2009 at 11:03 AM.
 
Old 05-06-2009, 10:27 AM   #3
Heber
LQ Newbie
 
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you! For my debian build there certainly is a /etc/inittab file. I never could find what respawned it every time I killed it.
 
  


Reply



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
Need to temporarily Disable GNOME muzzavitch Linux - Newbie 3 02-24-2009 09:39 AM
Can I bypass auto login and force login screen temporarily? TuxSurfer Linux - General 2 06-26-2008 03:46 PM
How to disable PHP temporarily due to vulnerability alienmagic Linux - Security 1 05-12-2006 07:41 AM
temporarily disable automount bnj Linux - Newbie 4 06-26-2005 08:41 AM
Can I temporarily disable GRUB?? Tiyogi Linux - General 4 04-15-2005 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration