redhat-qe-security / SCAutolib

Library for automation of smart card testing
GNU General Public License v3.0
3 stars 10 forks source link

Add creation of base user on tested host #38

Closed x00Pavel closed 2 years ago

x00Pavel commented 2 years ago

For testing purposes, the base user is added during the general setup. This user is used to simulate a real user scenario - login from a normal user, not from root user.

inikolcev commented 2 years ago

One small nit, but otherwise looks good. Maybe it would also be a good idea to kill all processes by that user before removing it. If there are processes running which are owned by the base user you won't be able to deleted at the end I think.