[clug] Shell handler/monitor

Brad Hards bhards at bigpond.net.au
Wed Mar 24 10:12:55 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Brad

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAYV8wGwwszQ/PZzgRAlatAJ9/tdG8m54rypWGeq6XVdHlHlDfxgCfTJdX
lgJr28eEGMk+OiZbCwZN1yE=
=IKs6
-----END PGP SIGNATURE-----


More information about the linux mailing list