changing nagios user UID
Posted: Tue Sep 17, 2019 2:37 am
Hello,
My company now requires the uid of nagios user to be a system uid (below 1000 on RHEL), so I am asked if I can change the UID to something below 1000.
id nagios
uid=1000(nagios) gid=1000(nagios) groupes=1000(nagios),1001(nagcmd)
Would that be enough ?
usermod -u 998 nagios
find / -user 1000 -exec chown -h 998 {} \;
Regards,
Jeremy
My company now requires the uid of nagios user to be a system uid (below 1000 on RHEL), so I am asked if I can change the UID to something below 1000.
id nagios
uid=1000(nagios) gid=1000(nagios) groupes=1000(nagios),1001(nagcmd)
Would that be enough ?
usermod -u 998 nagios
find / -user 1000 -exec chown -h 998 {} \;
Regards,
Jeremy