Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I don't know if I'm just searching incorrectly or if it doesn't exist. But can anyone point me or know of a link, which will tell me what ports or services I should have opened/closed or running? I understand it's not good to have services running or ports opened, which you don't use or need?
So please, if anyone knows of a URL that will explain this to me, please let me know.
Well first, you gotta ask yourself what services do you want to run? Do you want nfs, ftp, apache? If not, shut them using kill or by running the appropriate scripts in /etc/init.d. Sorry, I don't know of a URL that will tell you which ports you need open and such because every linux machine serves a different purpose. You need to tailor your machine to your needs.
We'll I'm not running any servers, but is there a way of knowing which services has to stay running for the system. I had to re-install because, I'm pretty sure I disabled something I wasn't suppose to. I couldn't get back into the Desktop. So, what I really meant to say is. Is there a URL or anything that would explain or tell you what services have to run at all times, versus the obvious one I know aren't running?
Do a 'ps' listing and look at all the processes that are running. Then google each process and understand what their intended purpose is (or just 'man' it). Once you know what a process does, you can kill it or leave it alone depending if you want it running or not.
Quote:
I had to re-install because, I'm pretty sure I disabled something I wasn't suppose to. I couldn't get back into the Desktop
You shouldn't really need to do this, this was overkill. If you disabled something, re-enable it again if you need it. Try CLI (command line interface) and get a feel for it. It will save you when you most need it and you can do things more efficiently. I use CLI 100% of the time.
You can enable or disable services at your MCC (Mandrake Control Center, type mcc at the command line ), if you are using Mandy, of course, as your profile says. MCC has even a command line interface in the case you mess up the X-server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.