Skip to content

Commit

Permalink
Replace user login with inline execution (#2932)
Browse files Browse the repository at this point in the history
Co-authored-by: Hare Sudhan <[email protected]>
  • Loading branch information
AlbertoPellitteri and cyberbuff authored Sep 17, 2024
1 parent bb7c504 commit 1076774
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions atomics/T1078.003/T1078.003.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ atomic_tests:
usermod --expiredate "1" art
usermod --unlock art
usermod --expiredate "99999" art
su art
whoami
exit
su -c whoami art
cleanup_command: |
userdel -r art
- name: Reactivate a locked/expired account (FreeBSD)
Expand Down

0 comments on commit 1076774

Please sign in to comment.