Announcement

Collapse
No announcement yet.

How to remove telnet from OS X 10.8 ??

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pallidus
    started a topic How to remove telnet from OS X 10.8 ??

    How to remove telnet from OS X 10.8 ??

    I know this is hardly the most appropriate forum but it's the only computer one I'm registered in and I don't frequent apple forums so my question is:


    I would like to disable the ability to use the tenet command on the Mac OS X 10.8 terminal.

    What do I have to do, what specific file do I have to delete ?? it's in system ? library->??

    Also on mountain lion why is there no option to turn IPv6 off?? it only shows me link-local or wtf

  • deanjo
    replied
    Originally posted by Pallidus View Post
    I blocked ssh and telnet, now I have to find shit like samba and those services that the ukrainians so love to exploit.


    to use nano in os x's terminal with a file the size of 'services' is a fucking pain....

    is that 'vim' thing working in os x's terminal?

    anyway to edit this file using a normal text editor?
    You could just enable root user in OS X, log in as it and then edit your files from a comfort of a gui if you wish and disable it after you are done your changes.

    http://support.apple.com/kb/ht1528

    Leave a comment:


  • deanjo
    replied
    Originally posted by gbudny View Post
    Yes. However you can install a graphical version of vim for OS X:

    http://code.google.com/p/macvim/



    Do you think about TextEdit?

    sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit filename
    There is also emacs and nano which come with OS X.

    Leave a comment:


  • deanjo
    replied
    Originally posted by Pallidus View Post
    Also on mountain lion why is there no option to turn IPv6 off?? it only shows me link-local or wtf
    Drop to terminal,

    Code:
    sudo networksetup -setv6off Wi-Fi
    sudo networksetup -setv6off Ethernet

    Leave a comment:


  • gbudny
    replied
    Originally posted by Pallidus View Post
    thanks gbudny that worked, editing with text edit makes everything much easier


    What I need to ask is what services should I block:

    telnet

    ssh

    I need to block that windows one samba because the hackers use that too.

    anymore obvious ones?
    I think you should block Telnet

    "Because it isn?t as secure as SSH, Telnet access isn?t enabled by default"

    http://images.apple.com/server/docs/Command_Line.pdf

    Leave a comment:


  • Pallidus
    replied
    thanks gbudny that worked, editing with text edit makes everything much easier


    What I need to ask is what services should I block:

    telnet

    ssh

    I need to block that windows one samba because the hackers use that too.

    anymore obvious ones?

    Leave a comment:


  • gbudny
    replied
    Originally posted by Pallidus View Post
    is that 'vim' thing working in os x's terminal?
    Yes. However you can install a graphical version of vim for OS X:

    http://code.google.com/p/macvim/

    Originally posted by Pallidus View Post
    anyway to edit this file using a normal text editor?
    Do you think about TextEdit?

    sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit filename
    Last edited by gbudny; 10-31-2012, 05:44 AM.

    Leave a comment:


  • Pallidus
    replied
    I blocked ssh and telnet, now I have to find shit like samba and those services that the ukrainians so love to exploit.


    to use nano in os x's terminal with a file the size of 'services' is a fucking pain....

    is that 'vim' thing working in os x's terminal?

    anyway to edit this file using a normal text editor?

    Leave a comment:


  • crazycheese
    replied
    Originally posted by keirawatson View Post
    You do not need to delete anything.

    Make a backup copy of /etc/services, then simply block the telnet service ports with a comment ?#.?

    #telnet 23/udp
    #telnet 23/tcp
    He already said that in post 3.

    Leave a comment:


  • keirawatson
    replied
    You do not need to delete anything.

    Make a backup copy of /etc/services, then simply block the telnet service ports with a comment ?#.?

    #telnet 23/udp
    #telnet 23/tcp

    Leave a comment:

Working...
X