LINUX : User keyboard monitor

In Progress

I am running Linux Redhat 5 and have some scripts written that exposes a Menu when a user logs in. Example

[root@sb1 script]# finger user1

Login: user1 Name: (null)

Directory: /home/bstm Shell: /bin/mymenush

Last login Sun Mar 3 03:03 (GMT) on pts/11 from [url removed, login to view]

No mail.

No Plan.

I have attached a file with some sample menu scripts.

The requirement is

1. Users need to log in via the menu script (controlled where they can go and what they can do)

2. Selectively log screen output / keystroke depending on menu item picked to a file that they cannot change

Example may want to log when MySQL menu is selected and capture all output but from the unix menu where for example I have

1. Kill a process

2. Start Backup

3. Restore Backup

Only interested in say 1, Kill a process

I have looked at the script function, see sample script attached.

3. On exit, compress and ftp/mail file

Open to suggestions

Thanks

Skills: Linux, Shell Script

See more: shell script keyboard monitor, what is unix shell, linux shell scripts, in linux shell script, example shell script, sun screen, shell scripts, script linux, keystroke, kill process linux script, shell unix, kill linux, linux login screen, linux login script, screen capture example, linux need root, linux mysql backup, mysql restore backup, user requirement, via linux, shell script mysql, mail mysql linux, unix shell scripts, monitor process, mysql shell script

About the Employer:
( 9 reviews ) United Kingdom

Project ID: #4296515

Awarded to:

sumitgarg44

I am a professional shell scriptor and can do this.

$70 USD in 0 days
(13 Reviews)
3.6

2 freelancers are bidding on average $85 for this job

hbxfnzwpf

Very proficient in linux and programming under linux, it is easy to me.

$100 USD in 4 days
(5 Reviews)
3.1