Yes, it is your distribution so you could use whatever
uids/gids you want. However, that will make changing systems
to and from it and adding packages from other package managers
to it difficult and error prone. I'd strongly suggest you
use the same userspace as one of the major distributions.
Debian, for example, uses these uids:
in /etc/passwd:
alias:x:70:65534:Postmaster:/var/qmail/alias:/bin/false
qmaild:x:71:65534::/var/qmail:/bin/false
qmails:x:72:70::/var/qmail:/bin/false
qmailr:x:73:70::/var/qmail:/bin/false
qmailq:x:74:70::/var/qmail:/bin/false
qmaill:x:75:65534::/var/qmail:/bin/false
qmailp:x:76:65534::/var/qmail:/bin/false
nobody:x:65534:65534:HTTP Access Account:/tmp:/bin/false
in groups:
qmail:*:70:
nogroup::65534:
Frankly, it is easier to build qmail from vanilla source than it is
from a package. But then you still have to tell the package manager
about it. And damn, the package manager wants to put another daemon
where you have qmail, and the snowball begins. ;^) Working all that
out is the whole point of a distribution, so why fight it?
Best,
cfm
On Sat, Sep 11, 1999 at 05:19:13AM -0000, [EMAIL PROTECTED] wrote:
> >What should I use in the way of var-qmail.
> >My understanding is that it needs to be compiled on each machine, but
> >as this is a fresh install, but maybe used for upgrades, I am concerned
> >about
> >UID's. Should I simply create a .rpm from the source supplied or can
> >someone
> >recommend a better method.
>
> Since this will be your distribution, you can just reserve the qmail
> uids. In this case, you can get away with a very simple spec file to
> build qmail (I can tell you if you need it).
>
> But you might be concerned about people who would like to upgrade
> their RH system to yours (probably bad idea though).
>
> Then you could test and remove their qmail users if they are not with
> the specified uids. Or use the var-qmail package as it is now. It
> does not have to be compiled on the install system at all. As the
> README explains:
>
> 1) take qmail-1.03-*.src.rpm (this does not contain the qmail sources,
> but the qmail binaries), do
>
> rpm --rebuild qmail-1.03-*.src.rpm
>
> This adds the qmail users if they do not yet exist, edits the
> binaries for the qmail uids/gids, and builds
>
> qmail-1.03-*.i386.rpm
>
> 2) which then can be installed in the usual way.
>
> Since you install qmail with the base system, and compilation does not
> happen, users will not notice at all that you are doing a bit
> nonstandard rpm install.
>
> Mate
>
>
--
Christopher F. Miller, Publisher [EMAIL PROTECTED]
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.