[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
I was expecting few replies from all of U.
Any more pointers to the same->, I want a shell
which has root permissions of wring some system files under
/etc, but should not have many other commands which usual shells
Thanks in anticipation,
Dwivedi Ajay kumar wrote:
> On Mon, 14 Aug 2000, Madhu Sudhan.S wrote:
> > Can any one on the list please educate me on how to Create a private
> > Unix Shell of my own, allowing only a few basic simple commands on that
> There is a thing like bash --restricted. It does restrict
> changing the PATH variable and cd'ing above the home directory. I hope you
> can set the PATH variable to ~/bin, copy the commands you want him to use
> to ~/bin. The shell will not allow it to use the commands like /usr/bin or
> anyother with a / in the command.
> > to work on that, like the ls, cd, etc.,. Other commands, like su, etc.,
> > should
> > throw an error "Command not found".
> Hopefully reading the docs will give u the complete info.
> Bye and EnjoyLife....
> #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY)
> Ajay kumar Dwivedi
> The mailing list archives are available at