From: りぬくす りぬらー <we_love_linux@xxxxxxxxxxx>
Date: Wed, 01 Oct 2003 00:05:10 +0900
we_love_linux> この、/home/hogehoge を特定のユーザーで(というか root 以外では基本的に)、
we_love_linux> 上位のディレクトリに移動できなくする方法は、どのようにすればよいでしょうか?
例えば、
1) /bin 以下で ln -s bash rbash
2) /etc/shells に /bin/rbash を追加
3) 制限したいユーザのシェルを rbash に設定(chsh)
というのはどうです? 詳細は man bash で rbash を参照。
======================================================
羽根 秀也 wing@xxxxxxxx http://www.lain.org/~wing/
======================================================