Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 2014 08:35:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191580] New: The permissions of the config file of security/duo are wrong
Message-ID:  <bug-191580-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: public@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191580-13>