From ea7244550eb6369536f0f0484f5091a77a1c0aaf Mon Sep 17 00:00:00 2001 From: zhipengl Date: Sun, 18 Nov 2018 10:26:34 +0000 Subject: [PATCH] Change group,passwd,and uidgid Signed-off-by: zhipengl --- group | 30 ++++++++++++++++++++---------- passwd | 27 +++++++++++++++++++-------- uidgid | 3 +++ 3 files changed, 42 insertions(+), 18 deletions(-) diff --git a/group b/group index 2753bd8..101a7a0 100644 --- a/group +++ b/group @@ -1,24 +1,34 @@ root::0: -bin::1: -daemon::2: sys::3: -adm::4: tty::5: disk::6: -lp::7: -mem::8: kmem::9: wheel::10: cdrom::11: mail::12: -man::15: dialout::18: floppy::19: -games::20: tape::33: -video::39: -ftp::50: lock::54: -audio::63: nobody::99: users::100: +murano:x:105:murano +postgres:x:120: +rabbitmq:x:121: +glance:x:161:glance +nova:x:162:nova +keystone:x:163:keystone +neutron:x:164:neutron +cinder:x:165:cinder +ceilometer:x:166:ceilometer +sysinv:x:168:sysinv +snmpd:x:169:snmpd,fm +nfv:x:172:nfv +heat:x:187:heat +fm:x:195:fm +panko:x:989:panko,ceilometer +gnocchi:x:990:gnocchi +libvirt:x:991:nova +aodh:x:992:aodh +magnum:x:1870:magnum +ironic:x:1874:ironic diff --git a/passwd b/passwd index 6c6a8eb..bfd8ee0 100644 --- a/passwd +++ b/passwd @@ -1,13 +1,24 @@ root:*:0:0:root:/root:/bin/bash -bin:*:1:1:bin:/bin:/sbin/nologin -daemon:*:2:2:daemon:/sbin:/sbin/nologin -adm:*:3:4:adm:/var/adm:/sbin/nologin -lp:*:4:7:lp:/var/spool/lpd:/sbin/nologin sync:*:5:0:sync:/sbin:/bin/sync shutdown:*:6:0:shutdown:/sbin:/sbin/shutdown halt:*:7:0:halt:/sbin:/sbin/halt -mail:*:8:12:mail:/var/spool/mail:/sbin/nologin -operator:*:11:0:operator:/root:/sbin/nologin -games:*:12:100:games:/usr/games:/sbin/nologin -ftp:*:14:50:FTP User:/var/ftp:/sbin/nologin nobody:*:99:99:Nobody:/:/sbin/nologin +murano:x:105:105:OpenStack Murano Daemons:/home/murano:/sbin/nologin +postgres:x:120:120:PostgreSQL Server:/var/lib/pgsql:/bin/sh +rabbitmq:x:121:121::/var/lib/rabbitmq:/bin/sh +glance:x:161:161:OpenStack Glance Daemons:/opt/cgcs/glance:/sbin/nologin +neutron:x:164:164:OpenStack Neutron Daemons:/var/lib/neutron:/sbin/nologin +cinder:x:165:165:OpenStack Cinder Daemons:/var/lib/cinder:/sbin/nologin +sysinv:x:168:168:sysinv Daemons:/var/lib/sysinv:/sbin/nologin +snmpd:x:169:169:net-snmp:/usr/share/snmp:/sbin/nologin +nfv:x:172:172:nfvi:/var/lib/nfv:/sbin/nologin +fm:x:195:195:fm-mgr:/var/lib/fm:/sbin/nologin +ceilometer:x:991:166::/home/ceilometer:/bin/sh +heat:x:992:187::/home/heat:/bin/sh +keystone:x:993:163::/home/keystone:/bin/sh +nova:x:994:162::/var/lib/nova:/bin/false +panko:x:995:989:OpenStack panko Daemons:/var/lib/panko:/sbin/nologin +gnocchi:x:996:990:gnocchi Daemons:/var/lib/gnocchi:/sbin/nologin +aodh:x:997:992:OpenStack aodh Daemons:/var/lib/aodh:/sbin/nologin +magnum:x:1870:1870:OpenStack Magnum Daemons:/var/lib/magnum:/sbin/nologin +ironic:x:1874:1874:OpenStack Ironic Daemons:/var/lib/ironic:/sbin/nologin diff --git a/uidgid b/uidgid index c6bbd4b..f779665 100644 --- a/uidgid +++ b/uidgid @@ -134,6 +134,8 @@ quantum 164 164 /var/lib/quantum /sbin/nologin openstack-quantum cinder 165 165 /var/lib/cinder /sbin/nologin openstack-cinder ceilometer 166 166 /var/lib/ceilometer /sbin/nologin openstack-ceilometer ceph 167 167 /var/lib/ceph /sbin/nologin ceph-common +sysinv 168 168 /var/lib/sysinv /sbin/nologin sysinv +snmpd 169 169 /usr/share/snmp /sbin/nologin net-snmp avahi-autoipd 170 170 /var/lib/avahi-autoipd /sbin/nologin avahi pulse 171 171 /var/run/pulse /sbin/nologin pulseaudio rtkit 172 172 /proc /sbin/nologin rtkit @@ -163,6 +165,7 @@ systemd-network 192 192 / /sbin/nologin systemd systemd-resolve 193 193 / /sbin/nologin systemd gnats ? ? ? ? gnats, gnats-db listar ? ? ? ? listar +fm 195 195 /var/lib/fm /sbin/nologin fm-mgr nfsnobody 65534 65534 /var/lib/nfs /sbin/nologin nfs-utils # Note: nfsnobody is 4294967294 on 64-bit platforms (-2) -- 1.8.3.1