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 #23 from Terje Røsten <[email protected]> 2012-05-16 15:32:19 
EDT ---
> 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.

-- 
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
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to