ports/129186: Customize the installed denyhosts scripts for FreeBSD
Till Klampaeckel
till at php.net
Tue Nov 25 17:10:04 UTC 2008
>Number: 129186
>Category: ports
>Synopsis: Customize the installed denyhosts scripts for FreeBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 25 17:10:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Till Klampaeckel
>Release: 6.3
>Organization:
n/a
>Environment:
FreeBSD XXXXX 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 07:51:58 UTC 2008 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
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. :-)
>How-To-Repeat:
>Fix:
--- restricted_from_passwd.py.old 2008-11-25 11:55:23.000000000 -0500
+++ restricted_from_passwd.py 2008-11-25 11:55:32.000000000 -0500
@@ -11,7 +11,7 @@
#
############################################################################
-RESTRICTED_SHELLS = ("/sbin/nologin",
+RESTRICTED_SHELLS = ("/usr/sbin/nologin",
"/sbin/shutdown",
"/sbin/halt")
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list