Re: Best practice to allow access in packaging scrips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday, 08 April 2017 at 15:32, Richard Shaw wrote:
[...]
> Currently, for the web interface to work the apache user needs to be added
> to the backuppc group so that /etc/BackupPC/apache.users can be read for
> the password protected login.

Does it support PAM or SSSD authentication? Or is it upstream default to
use a separate user database?

> Would it be a good idea to do this in %pre/post?
> 
> usermod -a -G backuppc apache

Yes, it's a good idea. This is basically the same use case as user
creation: https://fedoraproject.org/wiki/Packaging:UsersAndGroups .

Thanks for taking care of this.

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux