Reply
Thread Tools
Posts: 18 | Thanked: 2 times | Joined on Apr 2010 @ Germany
#1
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's Avatar
Posts: 135 | Thanked: 375 times | Joined on Mar 2010 @ Hong Kong
#2
Please post your .pro file
__________________
Qt Ambassador | Nokia Certified Qt Specialist
PenPen SketchBook |
FrontView - 0.2 is released! | DQuest
Status: Now working on GTD software
 
Posts: 18 | Thanked: 2 times | Joined on Apr 2010 @ Germany
#3
Sure, I'am thankfull for everything

KR
Attached Files
File Type: zip meetool.zip (1.3 KB, 92 views)
 
Posts: 101 | Thanked: 30 times | Joined on Jul 2010
#4
have you typed this in your launchmee.sudoers file?

user ALL = NOPASSWD: /sbin/launchmee
 
Posts: 101 | Thanked: 30 times | Joined on Jul 2010
#5
and also in xterminal you must type:

chmod 755 /sbin/launchmee
 
Posts: 18 | Thanked: 2 times | Joined on Apr 2010 @ Germany
#6
Originally Posted by gft2k1 View Post
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...
 
Posts: 101 | Thanked: 30 times | Joined on Jul 2010
#7
Originally Posted by Dr.Heyde View Post
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......
Attached Files
File Type: txt wifi-switcher.postinst.txt (559 Bytes, 99 views)
 

The Following User Says Thank You to gft2k1 For This Useful Post:
Posts: 18 | Thanked: 2 times | Joined on Apr 2010 @ Germany
#8
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
 
Reply


 
Forum Jump


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