[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uid/gid - comments?



On Tue, Aug 31, 1999 at 04:32:25PM +0000, David Coe wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> I notice that mysql-server has the same situation; it creates or takes over
> the 'mysql' group and user, in the mysql-server.preinst file.  
> 
> (If I happened to have a user with that name before installing mysql-server,
> I wouldn't be very happy.)  I suspect that mysql and Josef's UPS thing are not
> the only examples.
> 
> I guess the correct solution (policy?) would be to put the user name in a 
> conf file, and have the preinst ask the admin for a new name if the
> suggested name is already in use.

This is common enough... should we perhaps create a system wide file, that
maps default {user,group}names to local {user,group}names?

eg, in /etc/local_names:
mysql	mysql
ups	ups2

And write a few helpers to manage editing and checking of the file from
{pre,post}{inst,rm} (uidregister, etc.)?

If people like this idea, then we could flesh it out
into a full proposal, but first I'd like to hear people's opinions?

> Jozef Hitzinger <hitzinger@phobos.fphil.uniba.sk> writes:
> 
> > What should the package do, when it uses dynamic system ids (recognized by
> > name, not numeric value) and encounters a system, where the designed name
> > is already used by someone else?
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3a
> Charset: noconv
> Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface
> 
> iQCVAwUBN8wDgq6Bk+4xtwghAQGi6wP+OJORW0O65uCdIkeGu6bBbsnG8kBrFEQH
> Uln2vonL0N+uEv2As/xVQWkx+ooWJoDtGaoVITfxxVqBgmld6zVsNVn7AuA2x5FN
> PfQEBRxOM+pc/BuUIavMFCN4LqP1bo4kywfC/ARRchHg8CR1GQBsWB30O2GAwttr
> 25pRFGhxHRA=
> =c3QO
> -----END PGP SIGNATURE-----
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: