<p dir="ltr">Depends on what you want to do.</p>
<p dir="ltr">If you want to authenticate (ie. allow the user to log in with their system password), there are mechanisms to let you do this, although I think it’s a security risk.</p>
<p dir="ltr">If you want to let your user execute system commands through Flask, and you have only one such user, you will have to run your app as that user. If you have more than one users, you have to run your app as root, which is generally a bad idea.</p>
<p dir="ltr">All the above is true if you have only Flask in the game. Add task executors (like Celery) and you get a different (but not much different) answer.</p>
<p dir="ltr">If you could tell us your base problem (ie. why do you need this?), maybe the community can come up with some alternatives.</p>
<p dir="ltr">Best,<br>
Gergely</p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 20, 2017, 23:17 Christophe BAL (via GMAIL) <<a href="mailto:projetmbc@gmail.com">projetmbc@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hello.</p>
    <p><br>
    </p>
    <p>I hope that my message will not produce to much noise.</p>
    <p><br>
    </p>
    <p><b>Here is my question.</b><b> <br>
      </b></p>
    <p><b></b>Is there an easy way with flask to connect a "web user" as
      a Linux user on the server where the flask app is hosted ?</p>
  </div>

_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
</blockquote></div>