LINUX : User keyboard monitor

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


Taidot: Linux, Shell Script

Näytä lisää: 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

Tietoa työnantajasta:
( 9 arvostelua ) United Kingdom

Projektin tunnus: #4296515

Myönnetty käyttäjälle:


I am a professional shell scriptor and can do this.

$70 USD 0 päivässä
(13 Arvostelua)

2 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


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

$100 USD 4 päivässä
(5 arvostelua)