ports/104040: shells/bash lacks support for rbash
Jeremy Chadwick
freebsd at jdc.parodius.com
Fri Oct 6 05:10:15 UTC 2006
>Number: 104040
>Category: ports
>Synopsis: shells/bash lacks support for rbash
>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: Fri Oct 06 05:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jeremy Chadwick
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
Parodius Networking
>Environment:
System: FreeBSD icarus.home.lan 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Oct 2 10:20:50 PDT 2006 root at icarus.home.lan:/usr/obj/usr/src/sys/ICARUS i386
>Description:
While working on setting up a restricted shell on one of my home
machines, I found that the bash port doesn't have any framework
to create PREFIX/bin/rbash. Since one cannot set a users' shell
in passwd to "/usr/local/bin/bash -r", this does pose a problem.
Solution is obvious: just ln -s or ln bash to rbash. But it
would be great if the port could do this, as well as update
/etc/shells to reflect support for rbash.
>How-To-Repeat:
n/a
>Fix:
I'd propose adding something called WITH_RBASH which would make a
hardlink for rbash, and of course track it in the package list
so it gets removed on pkg_delete. Same goes for updating /etc/shells
when the port with rbash support is added and removed.
Either that or one could just make the port do this by default and
go with WITHOUT_RBASH, but I think *most* people won't use this
feature, so I'm voting for WITH_RBASH. :-)
Thanks!
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list