This is a discussion on Removing apache, bind, perl, and sendmail from an OpenBSD system within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I'd like to remove apache, bind, perl, and sendmail from an OpenBSD system. What is the best way to ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'd like to remove apache, bind, perl, and sendmail from an OpenBSD system. What is the best way to find all the libraries, executables, configuration files, and other miscellaneous files related to these software? I don't think there is but is there an automated or OpenBSD built-in way of removing these software? |
| |||
| washu wrote: > I'd like to remove apache, bind, perl, and sendmail from an OpenBSD > system. What is the best way to find all the libraries, executables, > configuration files, and other miscellaneous files related to these > software? > > I don't think there is but is there an automated or OpenBSD built-in > way of removing these software? dd if=/dev/zero of=/dev/wd0 Why on earth do you want to remove packages on which OpenBSD more or less depends for its day-to-day operation? Just disable the webserver, it will not bother you. EJ -- Remove the obvious part (including the dot) for my email address |
| |||
| >>>>> "erik" == erik <erik@geenspam.vanwesten.net> writes: erik> dd if=/dev/zero of=/dev/wd0 ok. i tried this but now my comuter won't boot! what should i do now? -- no toll on the internet; there are paths of many kinds; whoever passes this portal will travel freely in the world |
| |||
| On Sat, 30 Aug 2003 22:15:41 +0000, Zap Branigan wrote: >>>>>> "erik" == erik <erik@geenspam.vanwesten.net> writes: > > erik> dd if=/dev/zero of=/dev/wd0 > > ok. i tried this but now my comuter won't boot! what should i do now? Killfile that retard and report him to his ISP. |
| |||
| washu <washu@127.0.0.1> writes: > I'd like to remove apache, bind, perl, and sendmail from an OpenBSD .... > I don't think there is but is there an automated or OpenBSD built-in way > of removing these software? If you build your system from source you can use SKIPDIR to not build and install portions of the system. No guarantees. If you don't know what you are doing you might not build something that is needed later (e.g I think perl is needed for something or another). $ export SKIPDIR="sendmail httpd" $ export SUDO=sudo $ make build You'll have to go through your system one time and remove all the associated things by hand, but once your system is built an ls -lt will pretty much tell you what is old (with the exception of includes and possibly a few other things). // marc |
| |||
| Dave Uhring wrote: > On Sat, 30 Aug 2003 22:15:41 +0000, Zap Branigan wrote: > >>>>>>> "erik" == erik <erik@geenspam.vanwesten.net> writes: >> >> erik> dd if=/dev/zero of=/dev/wd0 >> >> ok. i tried this but now my comuter won't boot! what should i do >> now? > > Killfile that retard and report him to his ISP. Quoting correctly _and_ reading cynical remarks seems to be a rare artform. Retards that blindly follow the first line they read without any clue do not deserve better. Guess what my ISP will do? Yes, nothing. They ROTFL for such a retard reporting. EJ -- Remove the obvious part (including the dot) for my email address |
| |||
| washu wrote: > On Sat, 30 Aug 2003 22:24:23 +0200, erik wrote: > >> Why on earth do you want to remove packages on which OpenBSD more or >> less depends for its day-to-day operation? Just disable the >> webserver, it will not bother you. >> >> EJ > > With Perl, you may have a point. However, with the other servers, if > I'm > not going to use it, there's no purpose in having it there. I waste > time compiling software I don't use, it takes up disk space (not all > that much but I can still use that space for pr0n), and it makes my > job easier because I know exactly what's on my system and for what > reason. But you deviate from the standard system, you will shoot yourself in the foot when you decide to run pfstat afterwards, and you do not need to compile the things. It takes up a little bit of diskspace. The cheapest commodity in computers today. A barebones default install will take something like 120 MB if memory serves well. You will not gain too much. If I were you, I would seriously reconsider. Or have a look at a floppy based OpenBSD. That might even be a better solution for you. EJ -- Remove the obvious part (including the dot) for my email address |
| |||
| Marco S Hyman <marc@snafu.org> wrote: > washu <washu@127.0.0.1> writes: >> I'd like to remove apache, bind, perl, and sendmail from an OpenBSD > ... >> I don't think there is but is there an automated or OpenBSD built-in way >> of removing these software? > If you build your system from source you can use SKIPDIR to not > build and install portions of the system. No guarantees. If you > don't know what you are doing you might not build something > that is needed later (e.g I think perl is needed for something or > another). perl is used by some system utilities. /usr/bin/skeyprune /usr/sbin/adduser /usr/sbin/rmuser /usr/sbin/pkg cd /usr/sbin; ls | while read file; do \ head -n1 $file | grep perl > /dev/null; \ if [ $? -eq 0 ]; then echo $file; fi; \ done |
| ||||
| erik wrote: Erik, shame on you >>I don't think there is but is there an automated or OpenBSD built-in >>way of removing these software? > dd if=/dev/zero of=/dev/wd0 My keyboard is full of coffe, while laughing with a full mouth...... Without sendmail "root" does not bother me any more with the security-reports each day. BTW: I removes the "q" and "W" (shift +w) key, because it do not need them. cheers René -- Rene Schrader-Boelsche www.villa-cossio.com Heidberg 12 +49 (0)171 5482906 D-24641 Stuvenborn |