Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > e0c1c9612d2a9d7267da60ed9f6faf5f > scriptlet

autotest-framework-0.14.4-1.fc17.noarch.rpm

PREIN

/bin/sh
getent group autotest >/dev/null || groupadd -r autotest
getent passwd autotest >/dev/null || \
useradd -r -g autotest -d /var/lib/autotest -s /bin/bash \
-c "User account for the autotest harness" autotest
exit 0

POSTIN

/bin/sh
if [ "$1" -eq 1 ] ; then
    su -c "ssh-keygen -q -t rsa -N '' -f /var/lib/autotest/.ssh/id_rsa" - autotest || exit 0
fi