title: Execute program as normal user (while being root)
body: <p>I'm working on Debian 8 (Jessie) (64 bits). I want to run program as normal user, without creating and switching accounts to normal user.</p>
  
  <p>I am running the main program from bash script:</p>
  
  <pre><code>screen ./run
  </code></pre>
  
  <p>where run contains:</p>
  
  <pre><code>#!/bin/bash
  ulimit -c unlimited
  while true; do ./tfs --log-file "output.txt" "error.txt" | tee out.txt; done
  </code></pre>
  
  <p>I want to run the 'tfs' as normal user</p>