Hello,
I wonder, if there is any UID and GID reference list (preferable in the form of /etc/passwd or /etc/group) available.
The background is, that from time to time I get inconsistencies in my /etc/passwd and /etc/group files.
One example: Currently the Smolt cron job on my openSUSE 11.4 does not work, because the cron job user "smolt" does not exist. I can not find any "useradd" and "groupadd" commands in the RPM scripts of Smolt. So reinstalling Smolt does not add the missing user. Now I tried to find the correct Smolt entries in a fresh openSUSE 11.4 installation. I found these lines in openSUSE 12.1 Beta 1:
/etc/passwd:smolt:x:105:106:user for smolt:/usr/share/smolt:/sbin/nologin /etc/group:smolt:!:106:
But the UID 105 and the GID 106 is already taken by user "haldaemon" and group "polkituser" on my openSUSE 11.4 system:
haldaemon:x:105:107:User for haldaemon:/var/run/hald:/bin/false polkituser:!:106:
I think, the UID and GID numbers are dynamically chosen. But is this really ok in all cases?
It would be nice, if there is a list of system users and system groups. Other systems have such lists. For instance FreeBSD has the /usr/ports/UIDs (for system UIDs) and /usr/ports/GIDs (for system GIDs).
Or is is really safe to use dynamic UID and GID values for system users?
Björn Normally user IDs are assigned sequentially and users are by default
Bjoern Voigt wrote: part of the users group. The assigned UID & GID are listed in /etc/passwd. The Yast User and Group Management utility will display user & group IDs. You can also use it to change them, add groups etc. Normally user IDs start at 1000. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org