[Bug 191580] New: The permissions of the config file of security/duo are wrong
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 3 08:35:59 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191580
Bug ID: 191580
Summary: The permissions of the config file of security/duo are
wrong
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: public at niessen.ch
Created attachment 144367
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144367&action=edit
Patchfile for Makefile
The port security/duo installs the following configuration files:
- /usr/local/etc/login_duo.conf
- /usr/local/etc/login_duo.conf.sample
- /usr/local/etc/pam_duo.conf
- /usr/local/etc/pam_duo.conf.sample
Currently the permissions on these files are set to 700 and the owner is
root:wheel.
When you run the installed program login_duo it will fail as it expects the
configuration file login_duo.conf to be owned by the user sshd only.
The attached patch fixes two issues:
1. Preserve the owner of the files which were set in the staging/work directory
correctly
2. Set the permissions to 600 which should be sufficient
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list