On 31-Dec-98 Johan \"Orbit\" Mj�nes wrote:
> I'm setting up qmail on my machine (as you might know by my previous
> messages =).
> 
> Anyone, I have just discovered that QMail for some reason is runnning as
> some of my shell-users, and not the users I set up in the installation.
> 
> I'm quite confused, and would really like some help on how to solve this

Finally!  A question I can answer!

When you make install check on the server, it notes the uid's of the users you
already set up with useradd (or whatever).

When you install on the client, it uses _those_ id's instead of looking up
/etc/passwd again.  Since the uid's are probably different on the client and
server for the same users, this causes the problem.

Solution:-

Pick uid's that are the same on all your machines that need qmail on them [eg
qmaild = 1000, alias =1001 etc] , change /etc/passwd to that uid for the
relevant users (the ones with a home directory with /var/qmail in it) on each
machine, and chown the files as appropriate.

Alternatively, set up all the users on all the machines first [with the same
uid numbers across machines], then make clean and remake.

IMHO a bug in the installer or the install instructions.



> problem.
> 
> Regards,
> 
> Johan Mjones

Cheers!

Brian
Unix Sysadmin

Reply via email to