remove check ssh root
This commit is contained in:
1
eval.sh
1
eval.sh
@@ -9,5 +9,4 @@ fileMustContain /etc/passwd "epsi"
|
||||
fileMustContain /etc/shadow "epsi"
|
||||
fileMustExist /srv/inventaire.txt
|
||||
fileMustContain ~root/.bash_history vi
|
||||
fileMustContain /etc/ssh/sshd_config "permitrootlogin no"
|
||||
pkgInstalled sudo
|
||||
|
||||
2
eval.yml
2
eval.yml
@@ -10,7 +10,7 @@
|
||||
- name: insert header
|
||||
lineinfile:
|
||||
path: "{{ result_file }}"
|
||||
line: "machine\tuser\tmotd\tuser epsi\tpassword epsi\tinventaire reseau\tpractice done\tssh root off\tsudo installed"
|
||||
line: "machine\tuser\tmotd\tuser epsi\tpassword epsi\tinventaire reseau\tpractice done\tsudo installed"
|
||||
state: present
|
||||
create: true
|
||||
delegate_to: localhost
|
||||
|
||||
Reference in New Issue
Block a user