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.
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. :-)
Over to maintainer
obrien 2007-06-28 23:25:16 UTC
FreeBSD ports repository
shells/bash Makefile pkg-deinstall pkg-install
Submitted by: Jeremy Chadwick <email@example.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
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
rbash added. Thanks!