Operating Systems > Linux and UNIX
slackware questions
Stryker:
i just got slackware 8.1 and it's great. I have a few questions about it though.
1.) is there a command like chkconfig?
2.) if not then how do i disable/enable services?
3.) how do i turn off the random messages at login?
4.) why is it faster than redhat?
5.) how do i restart a service?
6.) why does it take 3.6gb from just 1 cd?
7.) anything different from redhat that i should know i haven't discovered yet?
i'm loving it though, i'm in the process of putting it on my laptop now.
beltorak0:
welcome to slack!
quote:
2.) if not then how do i disable/enable services?
--- End quote ---
in "/etc/rc.d" there are a number of scripts that turn on various services. On startup, rc.S is run, then for multi-user mode (runlevel 3) rc.M is run. That does some setups and invokes other scripts (rc.inet1, rc.inet2, rc.syslog, etc etc); but it (should) do a check to see if the script is executable.
--- Code: ---
--- End code ---
if the script is invoked without that check, you can make the hand edits necessesary. Then, to disable a service at startup,
--- Code: ---
--- End code ---
and to stop it it is usually sufficient to do "root# ./rc.script stop", or, failing that, "killall -9 service".
But that's not all, also in the "/etc" directory, there is a file called "inetd.conf". copy this to "inetd.conf-8.1" and edit the original. comment out any lines for the services you do not want to start.
Now, as for the other part, my only beef with slackware, is that it has no default firewall. These lines should give you some protection until you get a better script:
create file: /etc/rc.d/rc.ipfilter
--- Code: ---
--- End code ---
If you are on dialup, change the "eth0" to "ppp0".
Add this to one of the startup scripts (prefereably before your outside connection gets initialized, i recommend the top of "rc.netdevice" if your ethernet module gets loaded by that script; the top of "rc.inet1" is another good one):
--- Code: ---
--- End code ---
Or, you can go to netfilter guruz page and get a good script that should suit you. they are heavily commented, so you will learn a thing or two by tripping thru them.
slackware is a very do-it-yerself distro (not so much as gentoo or LFS tho ;) ), and tools like "linuxconf" are not in there.
What do you mean by "random messages at login?"
You can change the login prompt by writing this to the file "/etc/rc.d/rc.local":
--- Code: ---
--- End code ---
you can also get rid of the fortune message by chmod'ing the script "/etc/profile.d/bsd-games.sh" to non-execution, just like the startup scripts.
and if you miss the graphical login; change the following line in "/etc/inittab":
--- Code: ---
--- End code ---
change that 3 to a 4.
hope this helps.
Stryker:
thanks, that did help. Sorry this is so short, but I'm kind of in a hurry right now. You know why I can't login through ftp?
be back later, and thanks again.
voidmain:
quote:Originally posted by Stryker:
thanks, that did help. Sorry this is so short, but I'm kind of in a hurry right now. You know why I can't login through ftp?
--- End quote ---
Maybe you forgot to lube your muffler bearings?
Stryker:
quote:Originally posted by void main:
Maybe you forgot to lube your muffler bearings?
--- End quote ---
huh? i'm confused. I dont have a car, or know anything about them (mechanically). I mean the ftp server on the slackware distrobution isn't accepting any logins. I feel lost now, i'm not sure if you are teasing me, saying something off topic to confuse me, or that is the actual answer and i'm just stupid. all well, maybe i worry too much.
Navigation
[0] Message Index
[#] Next page
Go to full version