LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2009, 07:28 AM   #1
Sam Harris
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Question Securetty


I am new to Linux and trying to turn telnet on my system. I have been instructed to cd /usr/bin .redhat-config-services and scroll down to telnet and click the telnet box. Then go xinetd and click the xinetd at the top of the screen click restart click ok click on file save changes etc. I can't get to the ./redhat-config-services file (file not found)
 
Old 05-15-2009, 03:08 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you do realise how bad an idea this is? You really should use ssh instead (which is probably already running and ready to go...)

redhat-config-services is a command from Redhat EL3 and earlier, if you aren't using that, it's the wrong command. On newer Redhat, CentOS or Fedora systems it's called system-config-services, and you don't want the ./ bit at all. Learn about that another day. In future, please always ensure you tell us what version of linux you are using, etc.

Generally on most systems you can do this... open /etc/xinetd.d/telnet in a text editor as root and change the line that says "disabled = yes" to "disabled = no". then you need to restart the xinetd service by "service xinetd restart" or "/etc/init.d/xinetd restart" and that should be it. This depends on the telnet server being installed in the first place, of course, which these days it won't be.

if you're using debian or similar then you might still be using inetd, not xinetd, in which case youd' do an equivalent edit of /etc/inetd.conf.

Again though, telnet is BAD. SSH is GOOD.
 
  


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
/etc/securetty live_dont_exist Linux - Security 2 09-11-2006 01:07 PM
About the /etc/securetty function ust Linux - General 1 03-10-2005 11:26 PM
/etc/securetty nabil_boussetta Linux - Security 4 10-13-2004 02:29 PM
Securetty Obie Linux - Security 2 05-31-2004 07:37 PM
securetty and login?? Nevyn2 Linux - Security 5 08-26-2003 03:58 PM


All times are GMT -5. The time now is 02:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration