Groups v Debianu
Petr Herman
ph@lfmotol.cuni.cz
Mon, 12 Feb 2001 15:30:13 +0100
On Mon, Feb 12, 2001 at 12:40:39PM +0100, buchal@brailcom.cz wrote:
>
> Myslím skupiny na úrovni file systému.
Jo myslíte co je která skupina v /etc/groups
> PH: Debian Policy Manual
> http: //www.debian.org/doc/debian-policy/
No něco o tom je tady taky, zrovna v sekci 10.2
http://www.debian.org/doc/debian-policy/ch10.html#s10.2
* 10 The Operating System
+ 10.1 File system hierarchy
+ 10.2 Users and groups
ale jen obecně:
The UID and GID ranges are as follows:
0-99:
Globally allocated by the Debian project, the same on every
Debian system. These ids will appear in the passwd and group
files of all Debian systems, new ids in this range being added
automatically as the base-passwd package is updated.
Packages which need a single statically allocated uid or gid
should use one of these; their maintainers should ask the
base-passwd maintainer for ids.
100-999:
Dynamically allocated system users and groups. Packages which
need a user or group, but can have this user or group allocated
dynamically and differently on each system, should use `adduser
--system' to create the group and/or user. adduser will check
for the existence of the user or group, and if necessary choose
an unused id based on the ranges specified in adduser.conf.
1000-29999:
Dynamically allocated user accounts. By default adduser will
choose UIDs and GIDs for user accounts in this range, though
adduser.conf may be used to modify this behavior.
... atd. další viz ten manuál.
Avšak nějaké podrobnosti k té první větě:
Globally allocated by the Debian project, the same on every
Debian system. These ids will appear in the passwd and group...
se mi zatím nikde v tom:
Debian Documentation Project http://www.debian.org/doc/ddp
nepodařilo objevit.
> Měl jsem na mysli čistě systémová specifika, nikoliv koncepční, či filosofická.
No však jestli máte na mysli jaké GID a UID se přiřazují
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:lp
mail:x:8:
news:x:9:
uucp:x:10:
... atd.
tak to jsem považoval právě za tu záležitost té koncepce.
> S pozdravem
> Jan Buchal
Zdraví Petr Heřman