SlackwareThis Forum is for the discussion of Slackware Linux.
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.
i got my dsl going on slack 9.0 finally and i want to firewall it, i shadowed the passwrd but i dont think thats enough. anyways i got a script of the internet, and its a text file, and basically i dont know where to put it, how to put it there, and if i copy the text as is or have to enter my own info into it
any step by step help would be great
im runnung slack 9.0, and if anybody knows of any goos scripts tell me i think i got the lyons script or something, stars with L.
thank you
Slackware is configured to look for and execute the /etc/rc.d/rc.firewall script if available. This needs to be a bash shell script based on iptables. The first line would be #!/bin/sh or similar. From what scripts I have seen around you may need to set your local network IP assignment if the machine is a gateway for other machines connected on a network. If not, then that part really doesn't matter because there would be no forwarding or masquerading requirements.
Once you create the rc.firewall script the execute bits need to be turned on. Use "chmod 755 /etc/rc.d/rc.firewall".
BTW: All Slack versions that I have ever seen have used shadow passwords from the install. It doesn't have to be enabled or anything. The two user account files are /etc/passwd and /etc/shadow.
I personnaly use an application acting as an interface for iptables, firestarter. You can get the package from http://www.linuxpackages.net/.
Install it using you favorite package manager.
And see how it goes!
Oh really? Slack shadows during install? i thought you had to edit /etc/shadow and delete the encrypted password, reboot, and then use passwd command, to enter new password, thats what i did, is this method right? oh ya thanks excalibur for all your help, you have been great to me, the other forum i was on peolpe just bashed me for being newbie!!, nut soon i wont be newbie thanks to LQ.org!!
The shadow system, is the use of a separate file for the passwords that are encrypted, the file "shadows" the passwd file. The process you did works great for removing the root password when you do not know what it is or just want to go back to a no password setting. If you want to change the password then just run passwd. I think you may have been reading so old, old docs from 10 or 12 years ago.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.