Description of problem: $SUBJECT; rhr2 adds an rhr2test user for this; can use a different user if preferred/required. Would need to verify if the 'nobody' user could be used. Version-Release number of selected component (if applicable): hts-5.0-2
I review the rhr2 SPEC file, found the rhr2 SPEC did some job for user rhr2test, which as following: ----------------------------------------------------------------------------- if ! getent passwd rhr2test &> /dev/null; then home=/var/log/rhr/home/rhr2test mkdir -p -m 0700 $home useradd -c "Red Hat Ready Test User" rhr2test -u 87 -d $home -r -s /sbin/nologin -M # s390[x] has the the pkcs11 group, which is needed for crypto testing getent group pkcs11 &> /dev/null && usermod -G pkcs11 rhr2test chown rhr2test:rhr2test $home fi ------------------------------------------------------------------------------ I also review the /usr/share/rhr/tests/Z90CRYPT, found where do user rhr2test is used: ------------------------------------------------------------------------------ echo "if [ `$pkcsconf -t` 1>&2; echo $? -eq 192 ]; then true; else false; fi" | su - rhr2test -s /bin/bash ------------------------------------------------------------------------------- So I think we can use another user in hts, but we must ensure the user which we use in hts should in pkcs11 group.
Closed as no longer required.