Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reservierte User ID UID's und Group ID GID in gentoo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
xhi2018
n00b
n00b


Joined: 04 Jun 2007
Posts: 27

PostPosted: Mon Apr 14, 2008 5:23 pm    Post subject: Reservierte User ID UID's und Group ID GID in gentoo Reply with quote

Hallo,

ich hoffe ich hab jetzt korrekt gesucht - konnte aber leider nichts zu meiner Frage finden... :oops:

User und Gruppen haben ja immer eine eindeutige Zahl - User ID (UID) und Group ID (GID). Gibt es einen bestimmten Bereich von Nummern, denn ich bedenkenlos verwenden kann um meine User/Gruppen anzulegen :?:
Konkret ist es bei mir so dass ca. 15 User und 5 Gruppen anzulegen sind. Ich möchte später nicht mit irgendeiner Installation in die quere kommen, die User oder Gruppen mit der selben UID / GID anlegen will wie ich.

Oder wie macht Ihr das :?:

Gruß & vielen Dank!
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Mon Apr 14, 2008 5:32 pm    Post subject: Reply with quote

Ich habe dis bisher ohne Probleme immer wild drauflos vergeben (bzw. habe ich nie explizit eine GID oder eine UID angegeben). Sollte eigentlich auch nicht zu Problemen führen, weil in der Regel der Gruppen-/User-Name relevant ist, nicht die ID.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Mon Apr 14, 2008 6:46 pm    Post subject: Reply with quote

Hi,

keine Ahnung, ob das auch funktioniert, wenn sys-apps/shadow mit pam support kompiliert wurde, aber zumindest wird in der Datei /etc/login.defs sowas festgelegt:
Code:
gamemaster:~# egrep -B 2 "(U|G)ID_M(IN|AX)" /etc/login.defs
# Min/max values for automatic uid selection in useradd
#
UID_MIN                  1000
UID_MAX                 60000
# System accounts
SYS_UID_MIN               100
SYS_UID_MAX               999
--
# Min/max values for automatic gid selection in groupadd
#
GID_MIN                  1000
GID_MAX                 60000
# System accounts
SYS_GID_MIN               100
SYS_GID_MAX               999

_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum