The Following User Says Thank You to mr_pingu For This Useful Post: | ||
|
2014-03-10
, 14:00
|
|
Posts: 872 |
Thanked: 2,523 times |
Joined on Feb 2012
@ Germany
|
#52
|
I removed the sudo in front of the desktop file and it works like it should
Also your application asks root/superuser acces after it is launched (that password prompt). And at that moment it gets it's rights, right???
So now it's launched as normal user and it does show the dialog more than milliseconds and it even allows me to get into the main application after entering the right root-password. Hope this will get you any further.
Will report back what happens if I install sudser and place sudo back in the desktop file
The Following 2 Users Say Thank You to Halftux For This Useful Post: | ||
|
2014-03-10
, 21:26
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#53
|
|
2014-03-10
, 22:39
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#54
|
The Following 2 Users Say Thank You to mr_pingu For This Useful Post: | ||
|
2014-03-10
, 23:02
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#55
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2014-03-10
, 23:13
|
Posts: 1,163 |
Thanked: 1,873 times |
Joined on Feb 2011
@ The Netherlands
|
#56
|
|
2014-03-10
, 23:35
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#57
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2014-03-14
, 17:05
|
|
Posts: 872 |
Thanked: 2,523 times |
Joined on Feb 2012
@ Germany
|
#58
|
As said starting genwall as user works (passwd prompt stays until root pass entered and then runs), no sudo needed to start your app.
/etc/passwd is readable by user, so genwall may read it without root rights.
and the GUI does/should not run as root, but only parts (outsorced as scripts) where root is needed. Just suggesting here ...
|
2014-03-15
, 22:30
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#59
|
|
2014-07-16
, 22:23
|
|
Posts: 872 |
Thanked: 2,523 times |
Joined on Feb 2012
@ Germany
|
#60
|
no-hosts addn-hosts=/etc/dnsmasq.hosts
The Following 2 Users Say Thank You to Halftux For This Useful Post: | ||
Nokia-N900:~# cat /etc/sudoers | grep genwall
user ALL = NOPASSWD: /usr/bin/run-standalone.sh /opt/genwall/genwall
user ALL = NOPASSWD: /usr/bin/run-standalone.sh genwall
I guess the implementation of sudo in front of the desktop file requires sudser. I only have rootsh but I do NOT have sudser. AFAIK, madde also gives you root acces, not sure about this though. Also your application asks root/superuser acces after it is launched (that password prompt). And at that moment it gets it's rights, right???
So now it's launched as normal user and it does show the dialog more than milliseconds and it even allows me to get into the main application after entering the right root-password. Hope this will get you any further.
Will report back what happens if I install sudser and place sudo back in the desktop file
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
Last edited by mr_pingu; 2014-03-10 at 13:32.