Skip to content

Commit

Permalink
Let admins read logs without sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
dseomn committed May 26, 2024
1 parent bc1c0c8 commit a91de49
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ try adduser --add_extra_groups --disabled-password --gecos '' {{ user }}

{% if user_config.get('admin', false) %}
try adduser {{ user }} sudo
try adduser {{ user }} adm
{% endif %}

{% if 'authorized_keys' in user_config.get('ssh', {}) %}
Expand Down

0 comments on commit a91de49

Please sign in to comment.