Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:ansible [08/07/2019 15:22]
andrew [Tips]
rb:ansible [08/07/2019 16:35] (current)
andrew [Manipulate login shell]
Line 209: Line 209:
  
 <code yaml> <code yaml>
-- name: Global remediation to change ​cwagent ​user default shell to no-login ​CPE-123+- name: change user default shell to no-login
   user:   user:
-    name: cwagent+    name: cwdeviceuser
     shell: /​sbin/​nologin     shell: /​sbin/​nologin
 </​code>​ </​code>​

rb/ansible.txt ยท Last modified: 08/07/2019 16:35 by andrew