Unix Technical Forum

Removing apache, bind, perl, and sendmail from an OpenBSD system

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 05:32 AM
washu
 
Posts: n/a
Default Removing apache, bind, perl, and sendmail from an OpenBSD system

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 05:33 AM
erik
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 05:33 AM
Zap Branigan
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSDsystem

>>>>> "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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 05:33 AM
Dave Uhring
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-16-2008, 05:33 AM
Marco S Hyman
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-16-2008, 05:33 AM
erik
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-16-2008, 05:33 AM
erik
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-16-2008, 05:33 AM
beldar
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

erik = :

asshole

<plonk>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-16-2008, 05:33 AM
William Ahern
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-16-2008, 05:33 AM
Rene Schrader-Boelsche
 
Posts: n/a
Default Re: Removing apache, bind, perl, and sendmail from an OpenBSD system

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com