maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Another QT/MADDE/sudo Question (https://talk.maemo.org/showthread.php?t=59718)

Dr.Heyde 2010-08-04 05:07

Another QT/MADDE/sudo Question
 
Hi ,


I'am coming around with another (i think a n00b-one) Question.

I've created a QT App for the N900 which runs a shell-script as well...but only if i copy the .sudoers file manual in the /etc/sudoers.d Dir.
I've declared in the project.pro file that the file has to be installed @ the /etc/sudoers.d but that comes not to this point.
In my .deb Package it's still there in data/etc/sudoers.d but it won't moove to this Directory :(
Why can't things be simple *g*....
Does it have something to do with the permissions?
Could anyone please help me......again ?

Thanks at this time !

benlau 2010-08-04 14:08

Re: Another QT/MADDE/sudo Question
 
Please post your .pro file

Dr.Heyde 2010-08-04 18:05

Re: Another QT/MADDE/sudo Question
 
1 Attachment(s)
Sure, I'am thankfull for everything :rolleyes:

KR

gft2k1 2010-08-04 18:38

Re: Another QT/MADDE/sudo Question
 
have you typed this in your launchmee.sudoers file?

user ALL = NOPASSWD: /sbin/launchmee

gft2k1 2010-08-04 18:48

Re: Another QT/MADDE/sudo Question
 
and also in xterminal you must type:

chmod 755 /sbin/launchmee

Dr.Heyde 2010-08-04 19:18

Re: Another QT/MADDE/sudo Question
 
Quote:

Originally Posted by gft2k1 (Post 775777)
have you typed this in your launchmee.sudoers file?

user ALL = NOPASSWD: /sbin/launchmee

Yes

and i have for the launchmee set the permissions to 755

the problem is, that the sudoers file dosen't moove to etc/sudoers.d...only if i copy the file with cp or mv...my script will start...

gft2k1 2010-08-04 20:26

Re: Another QT/MADDE/sudo Question
 
1 Attachment(s)
Quote:

Originally Posted by Dr.Heyde (Post 775832)
Yes

and i have for the launchmee set the permissions to 755

the problem is, that the sudoers file dosen't moove to etc/sudoers.d...only if i copy the file with cp or mv...my script will start...

you must update sudoers post-install .

I attached an example file from wifi-switcher

Remove the .txt extension at the end of file

I rename it for uploading......:)

Dr.Heyde 2010-08-05 18:12

Re: Another QT/MADDE/sudo Question
 
I tought, this it...but...no....******+

I've checked the .deb file

the launchmee.sudoers is at the correct place, but in the md5sum file is no single Line with the string of /etc/sudoers.d/launchmee.sudoers
I think, thats the problem....how can i solve this

I can't believe it...

Thx 4 reply


All times are GMT. The time now is 10:09.

vBulletin® Version 3.8.8