[LTP] [PATCH 0/4] ima_{conditionals, measurements}.sh enhancements
Andrea Cervesato
andrea.cervesato@suse.com
Mon Oct 6 09:26:22 CEST 2025
hi!
On Thu Oct 2, 2025 at 10:36 AM CEST, Petr Vorel wrote:
>
> Petr Vorel (4):
> ima_{conditionals,measurements}.sh: Add temporary user
> ima_conditionals.sh: Split test by request
> ima_conditionals.sh: Use 'sg' without 'sudo'
> ima_{conditionals,measurements}.sh: Use 'su' instead of 'sudo'
>
> runtest/ima | 5 +-
> .../integrity/ima/tests/ima_conditionals.sh | 81 ++++++++++++-------
> .../integrity/ima/tests/ima_measurements.sh | 15 ++--
> .../security/integrity/ima/tests/ima_setup.sh | 12 +++
> 4 files changed, 71 insertions(+), 42 deletions(-)
What about creating a tool simulating sudo? I thought that was our main
goal. Using 'su' is ok, but this forces us to create a new user all the
times we execute a new suite, while our new sudo implementation would
create and destroy the user only for the specific session.
- Andrea
More information about the ltp
mailing list