3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: /etc/userdb c...
FromSent OnAttachments
Daniel RoesenApr 24, 2001 10:53 pm 
Sam VarshavchikApr 25, 2001 4:43 am 
Daniel RoesenApr 25, 2001 5:49 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: /etc/userdb chmod 700?Actions...
From:Daniel Roesen (droe@entire-systems.com)
Date:Apr 25, 2001 5:49:01 am
List:net.sourceforge.lists.courier-users

On Wed, Apr 25, 2001 at 11:44:21AM +0000, Sam Varshavchik wrote:

http://www.inter7.com/courierimap/INSTALL.html talk about /etc/userdb having to be chmod 700. I guess this should actually read "600" instead.

Not if /etc/userdb is a directory.

Of course, but the example specifically states:

<CITE>

# cp /dev/null /etc/userdb # chmod 700 /etc/userdb

/etc/userdb must have 700 permissions.

Now, run the script pw2userdb. This script converts the contents of your /etc/passwd to the /etc/userdb format (including the contents of /etc/shadow, this is why permissions on /etc/userdb must be 700).

[...]

The actual numerical values and the home directory location may vary. Save these two lines as /etc/userdb, and set the permissions on /etc/userdb to 700:

$ chmod 700 /etc/userdb

</CITE>

Usage is clearly a single file, not a directory. Later on in the "Large virtual domain farm" example you use a directory - there, 700 is correct.

Regards, Daniel