Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=817391 --- Comment #25 from Adrian Alves <aalves@xxxxxxxxx> 2012-05-16 18:57:39 EDT --- (In reply to comment #23) > > How you recommend to use it? make an script how? > > How do I use this: > > exec /usr/bin/pkexec command? > > that way? > > Yeah, that's a good start. > > In fedora we usual don't bring in sudo to let unprivileged processes/users run > an application as privileged user, the recommended interface these days is > polkit: > > http://www.freedesktop.org/wiki/Software/polkit > > one of ways polkit can be used is by pkexec. > > How to use pkexec is explained in the quick intro: > > https://fedoraproject.org/wiki/Features/UsermodeMigration > > I used this page to convert lshw to use pkexec. > > You can clone this package for more hints. > > fedpkg clone lshw > > I would also recommended to see example spec available at > > http://pkgs.fedoraproject.org/gitweb/ > > to get a feeling how spec should look like. This approach is better > than copying spec from third party which don't have a clue about Fedora > Guidelines. Can you check my spec al help me how to implement that? because i dont follow how te replace all my %post with that I will appreciate that please if u can assist me with pkexec never used before. Regards, Adrian.- -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review