On Mon 17 Feb 2014 07:42:13 PM CST, Guido Berhoerster wrote:
* Jan Engelhardt
[2014-02-17 19:26]: On Monday 2014-02-17 19:02, Guido Berhoerster wrote:
* Dirk Müller
[2014-02-17 18:26]: is there any kind of policy for the name of a user that is created by an opensuse package %pre script? Does it have to match the name of the package? the init script?
https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups
is quite vague on that.
Is there a way to "register" usernames ? if so, which one is it? I looked at FHS but couldn't find a good pointer. Is there one?
There isn't, but it would be really helpful to have one, in particular a distribution-wide registry as well as a naming convention that helps to prevent collisions between system user/groupnames and real users.
I was under the impression SUSE had practically thrown that concept out and shifted away from preallocating in /etc/passwd to using %pre+useradd for most of the packages.
I didn't mean preallocating /etc/passwd, just a policy to mandate that system have a certain prefix so admins can easily prevent collisions. A registry could have the form of a wiki page or simple text file so packagers have a quick overview of what names are taken by what package. Hi That would be nice, I have a system user called htopd for my systemd-htop-service package...
-- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.2 Kernel 3.11.10-7-desktop up 4:09, 4 users, load average: 0.06, 0.09, 0.10 CPU Intel® B840@1.9GHz | GPU Intel® Sandybridge Mobile -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org