Delete Existing Local User

Describes how to delete an existing local user in the worksheet.yaml.

The user must be present in the worksheet cray_local_users_worksheet.yaml.

ROLE
  • System Administrator
OBJECTIVE
This procedure deletes an existing local user. Do not attempt to simply delete the user from the worksheet cray_local_users_worksheet.yaml. It will not work.
  1. Change cray_local_users.settings.users.data.<username>.deleted from false to true.
    The change will take place on next system reboot
  2. To apply the change immediately (and not wait for the next system reboot), run the following commands on a node to execute the play on-the-fly.
    nid# /etc/init.d/cray-ansible link
    
    nid# ansible-playbook /etc/ansible/local_users.yaml