disable telnet access


8 posts in this topic Last Reply

Recommended Posts

Though not a easy to do action you can add the following lines to /boot/config/go script

# Disable telnet and ftp
sed -i -e 's/^telnet/#telnet/;s/^ftp/#ftp/' /etc/inetd.conf
/etc/rc.d/rc.inetd restart

 

You can run the lines directly to check first

 

Link to post

is it possible to disable telnet access? if so please give instructions! thanks!

 

Why do you want to do this? 

 

If it is for security reasons, you can do about the same amount of damage from the GUI which is basically protected the same way (by root login and password).  Just be sure that you have a long and complex password that is difficult to crack.  You do realize that your only access will now be through the console if emhttp goes down (and that has happened to several users).  And it is not really much fun to troubleshoot from the console unless you are a real LINUX guru as anyone can easily cut and paste from the telenet session. 

Link to post

is it possible to disable telnet access? if so please give instructions! thanks!

 

Why do you want to do this? 

 

If it is for security reasons, you can do about the same amount of damage from the GUI which is basically protected the same way (by root login and password).  Just be sure that you have a long and complex password that is difficult to crack.  You do realize that your only access will now be through the console if emhttp goes down (and that has happened to several users).  And it is not really much fun to troubleshoot from the console unless you are a real LINUX guru as anyone can easily cut and paste from the telenet session. 

 

Shutting off telnet just prevents your root password from getting sniffed... (I know the web login can be sniffed too... but that's just authorization, not the actual password)

The OP is not limited to the console as SSH is still up, and can be used to debug similarly as with a telnet session.

For security reasons - one "less secure" access mechanism to worry about is still better (let's not go into the whole security can of worms)

My example also shuts off FTP which I also never use.

 

Link to post

I added tips on the Tips and Tweaks wiki page for ken-ji's tips.  Naturally, it would be nice to see a built-in method in unRAID for controlling net services.  I'd appreciate any critiquing of the wording I used.

 

ken-ji, I suspect you have lots of ideas for tips!  ;)

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.