soschronotek Posted August 30, 2016 Share Posted August 30, 2016 is it possible to disable telnet access? if so please give instructions! thanks! Quote Link to comment
ken-ji Posted August 30, 2016 Share Posted August 30, 2016 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 Quote Link to comment
Frank1940 Posted August 30, 2016 Share Posted August 30, 2016 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. Quote Link to comment
ken-ji Posted August 30, 2016 Share Posted August 30, 2016 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. Quote Link to comment
Fireball3 Posted August 31, 2016 Share Posted August 31, 2016 Why is this not an option in the unRAID settings? We can toggle most services (smb, nfs, etc.) there. Quote Link to comment
RobJ Posted August 31, 2016 Share Posted August 31, 2016 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! Quote Link to comment
dlandon Posted September 3, 2016 Share Posted September 3, 2016 I've added the capability to disable FTP and Telnet to the Tips and Tweaks plugin here: http://lime-technology.com/forum/index.php?topic=49233.msg472422#msg472422 This will disable FTP and Telnet every time the server is booted. Quote Link to comment
soschronotek Posted September 3, 2016 Author Share Posted September 3, 2016 amazing, thank you for updating that Quote Link to comment
Recommended Posts
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.