Hi Graham and everyone,
I have a problem with a current task I'm doing in AWS. I'm creating a web
interface to set permissions and change the ssh welcome message. The
problem is that when saving the welcome message, I have to modify the /etc/
issue.net file with the following python line:
open("/etc/issue.net").write("test text")
the problem is that the server won't let me save because I don't have
superuser permissions.
the alert that appears in the apache log is as follows:
- sudo: a terminal is required to read the password; either use the
-S option to read from standard input or configure an askpass helper
note that in AWS, by default there is no superuser key
Finally, this is my .conf file:
WSGIDaemonProcess flaskproject threads=5
WSGIScriptAlias / /var/www/html/flaskproject/app.wsgi
<Directory flaskproject>
WSGIProcessGroup flaskproject
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
can you help me ?
Thabks!!!!
--
*Edwin J. Rueda*
Maestrando en Ciencias de la Computación
Universidade Federal do Pará, Brasil
Ingeniero de Sistemas
Universidad Industrial de Santander, Colombia
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/modwsgi/CAJ83xwqLJAt%2BNiNg6eaZxqetyEjq1c95RziyqMt5t1KxJ6zyCg%40mail.gmail.com.