diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 140e9b612c358f204524ac4ca3ccf697bc904b84..1de05d9d055055b26ec9b3b325690de857de248e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -77,7 +77,7 @@ test:ubuntu:
   script:
     - cd build
     - make
-    - ctest -VV -I 2,2
+    - su nobody -c "ctest -VV -I 2,2"
     #- make test
   dependencies:
     - build:ubuntu