-
January 20th, 2004, 04:17 AM
#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.
-
January 20th, 2004, 04:23 AM
#2
Exactly what are ou trying to do, just open the runlevel editor?
Real security doesn't come with an installer.
-
January 20th, 2004, 04:33 AM
#3
Im trying to close ports by disabling services. Its doesnt matter how to me as long as I get them disabled.
-
January 20th, 2004, 04:51 AM
#4
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."
-
January 20th, 2004, 04:57 AM
#5
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.
-
January 20th, 2004, 07:25 PM
#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
-
January 20th, 2004, 08:14 PM
#7
You have SuSE 8.1, is it the box set or just the iso's?
Real security doesn't come with an installer.
-
January 21st, 2004, 02:52 AM
#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
-
January 21st, 2004, 07:10 AM
#9
Should be fine now. I talked to him in PM and helped him fix this up.
-
January 21st, 2004, 02:32 PM
#10
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
-
Forum Rules
|
|