Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can't find services in YaST2 Need to close

  1. #1

    Can't find services in YaST2 Need to close

    Nmap 3.50 Results for nmap localhost

    PORT STATE SERVICE
    22/tcp open ssh
    25/tcp open smtp
    111/tcp open rpcbind
    6000/tcp open X11

    I just did a fresh install of SuSE 8.1
    Check list achieved
    1) Online update
    2) Download & install (New) nmap 3.50
    3) Download & install Eterm (cant find after install)
    4)Set up firewall in YaST2
    *********************************************************************************
    Not acheived
    5) Cant find services to disable in YaST2 ?

    Ive searched the forums any links I missed?

    Im trying to close all uneeded ports.



  2. #2
    @ÞΜĮЙǐЅŦГǻţΩЯ D0pp139an93r's Avatar
    Join Date
    May 2003
    Location
    St. Petersburg, FL
    Posts
    1,705
    Exactly what are ou trying to do, just open the runlevel editor?
    Real security doesn't come with an installer.

  3. #3
    Im trying to close ports by disabling services. Its doesnt matter how to me as long as I get them disabled.

  4. #4
    Senior Member n01100110's Avatar
    Join Date
    Jan 2002
    Posts
    352
    First of all, what you want to do is go to your /etc/profile file with root and put
    alias startx='startx -- -nolisten tcp'
    This command will stop the x server from listening when x is invoked...Im guessing you don't need any of these daemons ? So what I usually do is not only disable the daemon from listening, but delete it entirely if im sure i'll never need it again, and so it won't get activated somehow by accident, better safe than sorry...One thing to remember is to keep your programs current, so later on in the future if you decide you might want a mail server or an sshd listening, you can go to their website and grab the latest copy...Also, if you haven't already do(as root) a
    echo "ALL:ALL" >> /etc/hosts.deny
    ..Also read up on iptables and other methods of filtering...Hope i helped..
    "Serenity is not the absence of conflict, but the ability to cope with it."

  5. #5
    @ÞΜĮЙǐЅŦГǻţΩЯ D0pp139an93r's Avatar
    Join Date
    May 2003
    Location
    St. Petersburg, FL
    Posts
    1,705
    Basically IMHO the runlevel editor is your best option. YaST has a runlevel editor built in.

    I like this option because it allows you to setup custom runlevels. Change your services by doing nothing more than init X...
    Real security doesn't come with an installer.

  6. #6
    I went to ect /profiles I see a whole lot of info but where to I place this line at ? The bottom before where it says End of /ect/profile Im not meaning to be a jackass here I just have never done it this way before.

    Thnx guys for your time & help

  7. #7
    @ÞΜĮЙǐЅŦГǻţΩЯ D0pp139an93r's Avatar
    Join Date
    May 2003
    Location
    St. Petersburg, FL
    Posts
    1,705
    You have SuSE 8.1, is it the box set or just the iso's?
    Real security doesn't come with an installer.

  8. #8
    I bought it from comp USA It came with 3disc and a manual & some stickers!

    I just need to close those 4-5 ports that are open above.

    thnx

  9. #9
    Senior Member gore's Avatar
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    7,177
    Should be fine now. I talked to him in PM and helped him fix this up.

  10. #10
    Antionline's Security Dude instronics's Avatar
    Join Date
    Dec 2002
    Posts
    901
    Originally posted here by gore
    Should be fine now. I talked to him in PM and helped him fix this up.
    While the problem might have been solved this way, allow me to also add an opinion here for the SuSE linux, so that others would know what todo.

    SuSE linux can start and stop all services individually by typing in:

    rcsshd start/stop #start or stop the ssh deamon
    rcinetd start/stop #start or stop the super daemon (inet daemon)
    rcpostfix start/stop #start or stop the mail daemon (that is if you use postfix)
    rcSuSEfirewall2 start/stop/reload/etc... #to start or stop or reload the SuSE firewall

    These are just example services. Always type in rc and the first few letters of the service, then when hitting the 'tab' button, it will autocomplete the service, followed by start/stop/restart/reload etc.... depending on what parameters the given service can respond to.

    Cheers.
    Ubuntu-: Means in African : "Im too dumb to use Slackware"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •