

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
5 messages in net.sourceforge.lists.courier-usersRE: [courier-users] --disable-root-ch...| From | Sent On | Attachments |
|---|---|---|
| Rick Updegrove | May 3, 2002 3:20 pm | |
| Bill Michell | May 3, 2002 4:13 pm | |
| David M. Stowell | May 3, 2002 4:14 pm | |
| John Runnels | May 3, 2002 4:14 pm | |
| Bill Michell | May 3, 2002 5:18 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [courier-users] --disable-root-check ? | Actions... |
|---|---|---|
| From: | Bill Michell (bi...@mics.org.uk) | |
| Date: | May 3, 2002 4:13:41 pm | |
| List: | net.sourceforge.lists.courier-users | |
The user you are trying to compile as does not have permission to access the vpopmail library. root, of course, does.
If you fix your permissions, you should be able to compile non-root.
You really don't want things to be compiled as root if you can avoid it, since any setguid programs owned by root can trash your entire system if they feel like it (or if a hacker makes them). So its just a (very sensible) security precaution.
-- Bill Michell bi...@mics.org.uk
-----Original Message----- From: cour...@lists.sourceforge.net [mailto:cour...@lists.sourceforge.net]On Behalf Of Rick Updegrove Sent: 03 May 2002 23:12 To: cour...@lists.sourceforge.net Subject: [courier-users] --disable-root-check ?
Hello,
I am using courier-imap-1.1 from ports on OpenBSD 2.9 with qmail and vpopmail.
I would like to install courier-imap-1.4.4
When I try to do so I get the following error upon running gmake.
gmake[1]: Entering directory `/var/imap/courier-imap-1.4.4/authlib' gcc -I/var/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a -L/var/vpopmail/lib -lvpopmail -lm ld: -lvpopmail: no match collect2: ld returned 1 exit status gmake[1]: *** [authvchkpw] Error 1 gmake[1]: Leaving directory `/var/imap/courier-imap-1.4.4/authlib' gmake: *** [all-recursive] Error 1
Ok so just for the heck of it I decided to see if it would compile as root, which it does. Now, because I read the documentation I know that is not the way it was mean to be installed, but I cannot fifure out why yet.
When I look at the Makefile for the (working) ports version I see the following:
# $OpenBSD: Makefile,v 1.4 2000/10/01 13:27:13 avsm Exp $ <snip> CONFIGURE_ARGS= --disable-root-check --datadir=${PREFIX}/sbin </snip>
Ok my question is:
Should I ./configure --disable-root-check
and then gmake as root? etc. If not why not? I know I am not supposed to gmake as root but I am not sure why. I have been looking around for a written explanation of when --disable-root-check is needed/adviseable but so far I haven't located anything.
If anyone knows what I should doin order to install and use courier-imap-1.4.4 on my system please advise.
Thank you.
Rick Up
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: band...@sourceforge.net
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users







