Help answer threads with 0 replies.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 04-13-2005, 10:16 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 6

Rep: Reputation: 0
disabling serial ports on RHEL3 update 3

how do i disable my serial ports in Linux? I am running RHEL3 update 3 AS on a IBM x365, although I do not think what hardware i am using is relevant.
Old 04-14-2005, 04:44 AM   #2
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93

Rep: Reputation: 15
i didnt got ur point
u want to disable ur serial port or device?
Old 04-14-2005, 04:56 AM   #3
LQ Newbie
Registered: Apr 2005
Posts: 6

Original Poster
Rep: Reputation: 0
i want to disable my serial port, I am presuming that I have to comment (#) out a file somewhere. This is a security measure so someone can't plug a modem into my server.


Old 04-15-2005, 06:21 AM   #4
Registered: Jan 2005
Location: India
Distribution: Fedora Core 2
Posts: 83

Rep: Reputation: 15
The serial port is /dev/ttyS0 or /dev/ttyS1.

Now I guess you can make it readable and writable only to root. Remove rights to group and others . That might do the trick. I haven't tried it though.

Please let us know if you got the solution.


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
How to use serial ports in kernel? jamespayne Programming 24 06-24-2014 12:20 PM
Can only use one of my serial ports steaktc Linux - Hardware 1 11-23-2005 06:07 AM
Disabling ports 708-781? subjazz Linux - Security 7 09-27-2005 08:39 PM
Serial ports KenHorse Programming 2 12-27-2004 08:49 AM
A few commnds i need to know (disabling a few ports) Optyx Slackware 6 01-24-2004 01:48 PM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:00 AM.

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