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. 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! How-To-Repeat: n/a
Responsible Changed From-To: freebsd-ports-bugs->obrien Over to maintainer
obrien 2007-06-28 23:25:16 UTC FreeBSD ports repository Modified files: shells/bash Makefile pkg-deinstall pkg-install pkg-plist Log: Add rbash. PR: 104040 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Revision Changes Path 1.96 +2 -1 ports/shells/bash/Makefile 1.3 +12 -1 ports/shells/bash/pkg-deinstall 1.3 +9 -1 ports/shells/bash/pkg-install 1.23 +2 -1 ports/shells/bash/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed rbash added. Thanks!