Bug#1881: Majordomo UID wrong?
> >>>It seems that after I installed the majordomo package it placed the
> >>>folowwing entry in /etc/passwd:
> >>What is supposed to happen is that the preinst creates a group and
> >>user for majordomo; files are supposed to be in the .deb file owned by
> >>user majordom and group majordom, and represented in the tar file
> >>inside the .deb file by text strings - so that they get set to
> >>whatever numeric values were set up by the preinst.
> >How is this userid determined? I've been talking with Ian and Bruce
> >to get a fixed userid allocated for "gnats" because it needs a common
> >id across all machines on which it is used. They are going to
> >reserve me an id just for this purpose.
> The preinst calls adduser. The package is supposed to then use
> whatever uid/gid it finds in the passwd/group files.
> When I announced my intention to create a Majordomo package I posted
> to debian-devel asking about acquiring a fixed uid/gid pair for it
> (which would have made the job of Debianising it slightly easier).
> The only response was the suggestion that it could be allocated on the
> fly, so I did that.
> To my knowledge there's no strict requirement that Majordomo use the
> same uid/gid on every machine.
Are you forgetting NIS (Yp) systems? If I had already a UID 101, and it
decided to add user "101" would this conflict?
| PO Box 828 Office: (09)316-3036 Fax: (09)381-3909
|OWER INTERNET SERVICES Canning Bridge After Hours: 015-779-828
WA, 6153 Sales Support: firstname.lastname@example.org
Internet Service Providers
and Networking Solutions