0493login:Penguin
2018/07/22(日) 17:09:58.55ID:mRsOPG9D複数のサーバーでUIDとGIDを合わせようと思うんだよね
その時の番号をどうしようかと思ってるんだけど、OSで使用する番号は当然したくない
こういう場合にプライベートIPアドレスみたいな領域あるのかな?って
調べたらこういうのを見つけたわけさ
9.2.2 UID and GID classes
http://people.canonical.com/~cjwatson/ubuntu-policy/policy.html/ch-opersys.html#s9.2.2
これによると、30000-59999 と 65000-65533 がreservedになっていて、
この予約領域は使って良いのだろうか?って思ったでさらに調べたら
The Debian System: Concepts and Techniques という本に以下のように書いてあった
https://goo . gl/fMZeoB
0-99 Globally allocated, static IDs. These are the same across all Debian systems.
100 - 999 Dynamically created IDs for system accounts and group, created and used by packages during installation
1000 - 29999 IDs for normal user accounts and local groups, used by adduser or addgroup when creating new accounts or groups
30000 - 59999 Reserved for local use by the system administrator
60000 - 64999 Globally allocated, static IDs, which are only used on demand
65000 - 65533 Reserved for local use by the system administrator
65534 User nobody
65535 Must not be used
ってことで、30000 - 59999 と 65000 - 65533 は自由に使っていいように思えるんだけど
あってる?この本信じていい?