Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Another QT/MADDE/sudo Question

    Reply
    Dr.Heyde | # 1 | 2010-08-04, 05:07 | Report

    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 !

    Edit | Forward | Quote | Quick Reply | Thanks

     
    benlau | # 2 | 2010-08-04, 14:08 | Report

    Please post your .pro file

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dr.Heyde | # 3 | 2010-08-04, 18:05 | Report

    Sure, I'am thankfull for everything

    KR

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip meetool.zip (1.3 KB, 97 views)

     
    gft2k1 | # 4 | 2010-08-04, 18:38 | Report

    have you typed this in your launchmee.sudoers file?

    user ALL = NOPASSWD: /sbin/launchmee

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gft2k1 | # 5 | 2010-08-04, 18:48 | Report

    and also in xterminal you must type:

    chmod 755 /sbin/launchmee

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Dr.Heyde | # 6 | 2010-08-04, 19:18 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gft2k1 | # 7 | 2010-08-04, 20:26 | Report

    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......

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: txt wifi-switcher.postinst.txt (559 Bytes, 103 views)
    The Following User Says Thank You to gft2k1 For This Useful Post:
    Dr.Heyde

     
    Dr.Heyde | # 8 | 2010-08-05, 18:12 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout