Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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 was about to say... that's the most interesting response to a question I've had yet. But back on topic:
First, before I go turning off everything on my system I just want to confirm that sshd isn't required for me to use ssh, sendmail/smtp isn't required to send/receive mail with mail clients, the cups daemon isn't required to use CUPs to print, and the X11 thing is only used for allowing remote logins to X and nothing else. The first two I'm pretty sure about, but it sounds from a description I read that CUPs was required if I wanted to use CUPs to print, and I was confused about what exactly making those changes to startx is going to do.
Second, I went into Slack's pkgtool to turn off services and now the only ones I see at startup are gpm, apmd, inetd, and sysklogd. I know I need/want gpm and apmd and sysklogd looks like something that's supposed to be there, but how about inetd? Do I want to keep that on?
All the services that you are turning off are in fact daemons which means that they are servers and they serve. You can disable the sshd service on the computer but you can still ssh out from that machine to anywhere else. but you no longer can ssh INTO that machine because it is not running the sshd daemon and the same goes for the rest for them
You can still recieve and send mail as long as you use your isp mail servers.
Those changes that you make to startx will not affect any functionality.
inetd is a like of big service that runs sub services or you can probably disable it and it would be fine, it runs a whole bunch of r* services telnet etc and stuff like that that most people dont use anyway and if you come to need it just re-enable it. There is nothing in disabling any of these services that will cause your system not to boot. maybe the startx one.
Be careful not to delete anything else in the startx file.
yeah definitely go the pkgtool route if that works, dont know i've never used slackware
but i wouldn't recommend doing the chmod -x cause the files remain and its bad administration practice for later. and you have to look up the attributes later to check is this service running or not rather than just looking in the rc.d folder.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.