[clug] Shell handler/monitor
Martin Pool
mbp at samba.org
Thu Mar 25 00:06:09 GMT 2004
On 24 Mar 2004, Brad Hards <bhards at bigpond.net.au> wrote:
> On Wed, 24 Mar 2004 20:59 pm, Grant Morphett wrote:
> > I don't know the exact label or title of what I want but its basically some
> > sort of shell event handler. Essentially I am looking for a shell (bash
> > like) or something to hook onto a shell where I can configure loads of
> > events to happen on various things. I also need a high level of detailed
> > control. i.e. I would like to be able to stop certain users from running
> > the "rm" command or the chmod command. I would also like to be able to
> > send logs or SNMP messages everytime a user does something that I am
> > interested in i.e. perhaps send an SNMP message of every command a
> > particular user enters. That sort of stuff. Any ideas?
> restricted shell (aka rbash, or bash --restricted) plus some wrapper
> scripts / manipulation of the PATH can probably do what you want.
That's probably best if you just want to trap shell commands. You
could also try systrace.org
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/linux/attachments/20040325/d49ffbbb/attachment.bin
More information about the linux
mailing list