ports/168140: pdksh install munges ksh93 entry in /etc/shells

Rob Windsor windsor at warthog.com
Sat May 19 18:10:01 UTC 2012


>Number:         168140
>Category:       ports
>Synopsis:       pdksh install munges ksh93 entry in /etc/shells
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 19 18:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Rob Windsor
>Release:        9.0p1
>Organization:
>Environment:
FreeBSD atlas 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Install ksh93
$ cat /etc/shells
# $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/ksh93


Now install pdksh
$ cat /etc/shells
# $FreeBSD: release/9.0.0/etc/shells 59717 2000-04-27 21:58:46Z ache $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/ksh

>How-To-Repeat:
uninstall pdksh
uninstall ksh93
clean up /etc/shells (if needed)
install ksh93
install pdksh
cat /etc/shells
>Fix:
update line in ports/shells/pdksh/Makefile that does @(${GREP} -v ${PREFIX}/bin/ksh /etc/shells.bak ... to something like ${PREFIX}/bin/ksh\$

(test how you escape $ for functionality, don't use above example verbatum)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list