Restricting shells...

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

 



This is kinda tricky:

Situation:
- A webserver, hosting a page which has CGIs enabled
- Not-too-bright webdesigner putting up scripts that allow "escaping", by
i.e. sending a receipient of someone@somewhere;/bin/bash -i

I want to restrict _interactive_ bash shells (other shells are not a concern
yet). Is there _any_ way to do that, short of wrapping bash into a little
program that checks by whom bash got called and with which parameters?

Thanks
Jens

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux