Skip to content

Commit

Permalink
Remove SGID bits from /usr/bin/w{all,rite} (Slackware)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Apr 7, 2024
1 parent c77a667 commit 5864e49
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tasks/filesystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,15 @@
mode: u-s
owner: root
group: root
- name: Remove SGID bits from /usr/bin/w{all,rite}
ansible.builtin.file:
path: '{{ item }}'
mode: g-s
owner: root
group: root
with_items:
- /usr/bin/wall
- /usr/bin/write

- name: Chmod sensitive files
become: true
Expand Down

0 comments on commit 5864e49

Please sign in to comment.