On 07/07/05, thomas <[EMAIL PROTECTED]> wrote: > We have requirement to restrict the user so that he cannot to the cd > to other directories like /etc /home/xyz but can do the cd in > subdirectories of his home directories like /home/thomas/xyz_dir and > /home/thomas/abc_dir.
You need to recompile bash to include rbash support. Once you have that, set the user's shell to rbash. Rbash is restricted bash - read about its features at: http://www.opensource.apple.com/darwinsource/WWDC2004/bash-30/bash/RBASH Binand ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
