Bug 129186 - security/denyhosts: Customize the installed denyhosts scripts for FreeBSD
Summary: security/denyhosts: Customize the installed denyhosts scripts for FreeBSD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 17:10 UTC by Till Klampaeckel
Modified: 2008-11-27 02:46 UTC (History)
0 users

See Also:


Attachments
file.diff (394 bytes, patch)
2008-11-25 17:10 UTC, Till Klampaeckel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Till Klampaeckel 2008-11-25 17:10:04 UTC
For example, restrict_from_passwd.py lists /sbin/nologin as shell, while on "my" OS it's /usr/sbin/nologin. I think the paths should be customized in there with a post-install task.

If I run the script now, I get 0 accounts.

After "patching" it, I get:
_dhcp
_pflogd
bin
bind
daemon
games
kmem
mailnull
man
news
nobody
operator
pop
proxy
smmsp
sshd
tty
www


This is really a nice to have. :-)
Comment 1 Mark Linimon 2008-11-25 17:37:44 UTC
To which port does this apply?

mcl
Comment 2 Till Klampaeckel 2008-11-25 17:39:15 UTC
/usr/ports/securitu/denyhosts

On Tue, Nov 25, 2008 at 6:37 PM, Mark Linimon <linimon@lonesome.com> wrote:
> To which port does this apply?
>
> mcl
>
Comment 3 Till Klampaeckel 2008-11-25 17:55:03 UTC
Just found something else popping up in my logs:

/usr/local/bin/python != /usr/local/bin/python2.5

So I patched /usr/local/etc/rc.d/denyhosts with:
- command_interpreter="/usr/local/bin/python"
+ command_interpreter="/usr/local/bin/python2.5"
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-26 08:54:16 UTC
Maintainer of security/denyhosts,

Please note that PR ports/129186 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/129186

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 5 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-26 08:54:20 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 6 Wesley Shields freebsd_committer freebsd_triage 2008-11-26 14:26:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2008-11-26 16:59:30 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 8 Wesley Shields freebsd_committer freebsd_triage 2008-11-27 02:46:52 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!