[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Restricted shell with Bash 2.02



Hy Charles,

how that was a work translating this mail. My Dictionary (from 1970) don't know 
much words :-( and here i have no babylon installed more :-(.

But i think i understand it now ;)

> I'm not sure.  The lastest Bash I was able to find was 2.4 or .04 not
> sure anymore.  Haven't had the cajones to install as of yet though. :)

Installing is very easy. ./configure --help, select which options you need, 
then make and (if you need i did not do this for now) make install. After make 
you have a file bash (yes it's the shell :-) ) if you rename it to rbash and 
copy it to /bin you can create a test user whith shell /bin/rbash. If you start 
the shell with name rbash it's automatic the restricted shell (yes it's very 
restrictive but thats nearly perfect ;) )

> Was hoping someone had already done so with no problems.  It seems
> someone(you) has a bit more in the trousers than I do though. :)

I didn't found the word trousers so i don't know what you have said, but i 
think it was nothing bad ;)

> Will do more searching today to find what I can.

I'm too. I hope i find more informations about the restricted mode and how to 
modify it. It's a great mode and it can solve the long discussed "If i telnet 
in, I can see all" - Problem. But that only if you can allow a user to access 
it's groups dirs !

> P.S. Which version and from where did you d/l?

I grab GNU bash, version 2.05.0(1)-release-(i586-pc-linux-gnu) from 
http://www.gnu.org/software/bash/ and compiled it from source. If you need my 
compile options i can try to find them in my .bash_history. Just drop me a line 
and i will go fishing ;).

Hope to hear some news from you.
Olly