Commit f0c36c3c authored by Alessandro Elias's avatar Alessandro Elias

Merge branch 'rc-1.0.2' into 'develop'

SCRUM#637: Prevents zenity from running as root

See merge request !12
parents 399993f2 6142589b
Pipeline #18851 passed with stages
in 2 minutes and 44 seconds
le-proinfodata (1.0.2) unstable; urgency=medium
* Prevents zenity from running as root (Closes: #637)
* debian/control:
- Fix Davisson's mail address
- New uploader
- Add x11-xserver-utils as dependency
-- Lucas Sulzbach <lesuporte@c3sl.ufpr.br> Wed, 12 Dec 2018 11:20:00 -0200
le-proinfodata (1.0.1) unstable; urgency=medium
* Stops asking INEP in the "Particular" version of LE (Closes: #642)
......
......@@ -2,14 +2,14 @@ Source: le-proinfodata
Section: admin
Priority: important
Maintainer: Equipe Linux Educacional <lesuporte@c3sl.ufpr.br>
Uploaders: Davisson Paulino <lesuporte@inf.ufpr.br>, Diego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>, Rafael Sanfelice Castilho <rsc15@inf.ufpr.br>
Uploaders: Davisson Paulino <dhp14@inf.ufpr.br>, Diego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>, Rafael Sanfelice Castilho <rsc15@inf.ufpr.br>, Lucas Sulzbach <ls17@c3sl.ufpr.br>
Build-Depends: devscripts, debhelper (>= 9.20160709)
Standards-Version: 3.9.8
Vcs-Git: https://gitlab.c3sl.ufpr.br/le6/le-proinfodata.git
Package: le-proinfodata
Architecture: all
Depends: ${misc:Depends}, zenity, wget, passwd, sudo, cron, bzip2, xli, acl
Depends: ${misc:Depends}, zenity, wget, passwd, sudo, cron, bzip2, xli, acl, x11-xserver-utils
Description: Agent of PROINFODATA project designed for the LE project
Coleta de dados do projeto ProInfo/MEC de inclusão digital nas escolas
públicas brasileiras (PROINFODATA) is a project supported by Ministério da
......
......@@ -56,8 +56,10 @@ function call_dialog_inep () {
disable_mouse
# Disable keyboard control-button and alt-button
disable_keyboard
# Set background
eval "$DIALOG_INEP"
# Authorise the user of the session being opened to display applications
xhost "si:localuser:$USER"
# Set background (running as user)
eval "su -p \"$USER\" -c \"$DIALOG_INEP\""
# Reset background to default
xli -onroot -background black
# Enable mouse right-click
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment