tests: Don't make system user with differently-named group
Sysusers doesn't really support this, and no RPMs do it. Closes: #1763 Approved by: jlebon
This commit is contained in:
parent
a2044f8923
commit
e7f87b03ef
@ -35,7 +35,7 @@ vm_build_rpm nonrootcap \
|
|||||||
cp nonrootcap nrc-\$mode.sh
|
cp nonrootcap nrc-\$mode.sh
|
||||||
done" \
|
done" \
|
||||||
pre "groupadd -r nrcgroup
|
pre "groupadd -r nrcgroup
|
||||||
useradd -r nrcuser -g nrcgroup -s /sbin/nologin" \
|
useradd -r nrcuser -s /sbin/nologin" \
|
||||||
install "mkdir -p %{buildroot}/etc
|
install "mkdir -p %{buildroot}/etc
|
||||||
install nrc.conf %{buildroot}/etc
|
install nrc.conf %{buildroot}/etc
|
||||||
ln -sr %{buildroot}/etc/nrc.conf %{buildroot}/etc/nrc-link.conf
|
ln -sr %{buildroot}/etc/nrc.conf %{buildroot}/etc/nrc-link.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user