gopal krishna <[EMAIL PROTECTED]> writes: > > Hi, Hi,
> > My scenario goes this way. > > I have a Linux box and every developer has the root password and I cannot take the password from them coz > that's their requirement....And what I need is some why by which I can trace every activity performed in > that box with the client's IP who fired those commands. You probably need to write a wrapper script which starts "script"[1] with $SHELL set to user's actual shell. And then install this wrapper script as user's shell. "script" command is part of BSD, and is available in Linux under "util-linux" package. The "script" process will trace every line printed on user's terminal, except curses stuff ;-) And for logging IP addresses of user in the wrapper, you can $SSH_CLIENT :) References: util-linux project http://freshmeat.net/projects/util-linux/ script(1) manpage http://www.freebsd.org/cgi/man.cgi?query=script&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html > > Thanks in advance. > > Gopal. HTH Ashish Shukla -- Ashish Shukla "Wah Java !!" आशीष शुक्ल weblog: http://wahjava.wordpress.com/ ,= ,-_-. =. | The desire to be rewarded for one's creativity does | ((_/)o o(\_)) | not justify depriving the world in general of all or | `-'(. .)`-' | part of that creativity. | \_/ | - Richard M. Stallman | "See you at 'Freed.in - freedom in technology & software' - India's leading free and open source community event. 28- 29 September 2007, New Delhi. Entry free, on first come basis. Register at http://Freed.in" _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - September 28-29, 2007 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/