system-config/playbooks/roles/base/users
Clark Boylan 9a9af41e48 Disable distro cloud image users more forcefully
This updates our user management system to use the userdel --force flag
when disabling and removing distro cloud image users like 'ubuntu',
'centos' and 'admin'. The reason for this is when we switch from using
the distro user to boot strap launchnode over to root the distro user
may still have running processes that prevent userdel from succeeding.
This should address that problem and delete the user anyway.

The last step in the launch node process is to reboot which should clear
out any stale processes.

We don't do this for normal users as they aren't removed at node launch
time and this may be too forceful for them. It would be better for us to
error in that case and clean up any stale processes.

Change-Id: I79caf2a996566ecaec4cb4a70941bb3f03a5fb73
2022-10-03 09:21:42 -07:00
..
defaults Disable distro cloud image users more forcefully 2022-10-03 09:21:42 -07:00
files Lower UID/GID range max to make way for containers 2021-11-05 18:06:55 +00:00
tasks Disable distro cloud image users more forcefully 2022-10-03 09:21:42 -07:00
README.rst Disable distro cloud image users more forcefully 2022-10-03 09:21:42 -07:00

README.rst

Configure users on a server

Configure users on a server. Users are given sudo access

Role Variables