Disable Keyboard in AIX 5.2


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Disable Keyboard in AIX 5.2
# 1  
Old 06-03-2005
Disable Keyboard in AIX 5.2

Hi all.
I have a log file that the operators monitor. This file is simply tailed -f on a screen in the ops room. I would like to know if there is anyway I can disable the keyboard from any input other than physically unpluging it. Something like a trap in the script.

The system is AIX 5.2.

Thanks

J
# 2  
Old 06-18-2005
To my knowledge there is no such way. You might protect the motoring output from the (hands of the) operators by using a shell construct like:

Code:
while : ; do
     tput clear
     tail -f25 <logfile>
done

and use "trap" to intercept anything they might try on the keyboard (especially the signals 1, 2 and 3). Additionally you could display the window with this process from another machine, but you would have to take care for the possiblity that the displaying machine gets rebooted then. A script watching over the process for the window and on demand restarting it should do this.

Hope this helps.

bakunin
# 3  
Old 06-18-2005
Yes, you can trap the signals from the keyboard in your script and silently ignore them, provided of course that the shell you are using has this facility, for exaple yout would trap SIGINT to prevent ^C on the keyboard from stopping the script.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Disable RBAC - AIX

Hi all, i have a little problem... I have a Trusted AIX v. 6.1 installed on my system p. I can't disable RBAC mode... $ lsattr -El sys0 -a enhanced_RBAC enhanced_RBAC true Enhanced RBAC Mode True $ chdev -l sys0 -a enhanced_RBAC=false Method error (/usr/lib/methods/chggen): 0514-018... (3 Replies)
Discussion started by: Zio Bill
3 Replies

2. AIX

AIX Disable direct root login problems

I have disabled rlogin for root successfully , but after that i could not login to root from console and could not su to root from other users as it responded as expired account I did not have any admin user but I have managed to recover the situation by accessing rootvg before mounting it, but... (5 Replies)
Discussion started by: majd_ece
5 Replies

3. AIX

Allow telnet in AIX from specific IP adds, but disable for everyone else

I need to change the security on our AIX servers and disable telnet from all but certain IP addresses. I have hashed the telnet line in /etc/inetd.conf and added filter rules for those IP adds to allow access on port 23, but this didn't work. Does anyone have any ideas? Thanks. (2 Replies)
Discussion started by: Alps
2 Replies

4. Linux

How to disable Keyboard on Ubuntu?

Hi I need to disable Keyboard on ubuntu at all ,i've been searching for a week to find a solution and i founded some tips like i can disable all Key's or i can use a Perl script to disable it but these solution's work's only on X.Windows but i need to disable Keyboard on Grub Startup ,i don't... (5 Replies)
Discussion started by: brain!ac
5 Replies

5. AIX

How to disable/remove c-shell in aix?

Hi Team, I want to either disable C-shell permanently from my system. since the package bos.rte.shell 5.3.9.2 APPLIED Shells (bsh, ksh, csh) contains all 3 shells, please guide me how I can remove or permanently disable cshell from my box. I know I can rename /usr/bin/csh and disable but... (2 Replies)
Discussion started by: falgun6666
2 Replies

6. AIX

Disable Banner Printing AIX ?

Can someone help me disable the banner printing in AIX 6 I am using HPjetDirect Drivers. SO whenever i print anything from Oracle application, a banner is printed. like the one below ######### User: alices@hostname ##### Title: /etc/release ##### Date: Fri 17:23 Mar 27, 2009 ##### ... (2 Replies)
Discussion started by: filosophizer
2 Replies

7. AIX

FTP access disable in AIX

Hello, I have AIX machine communication to mainframe machine. From AIX machine, i have to use always SSH communication. For this, i have created SSH tunnel in AIX machine and using FTP with SSH. Now both connections are working: 1) only FTP to mainframe machine 2) create SSH and do FTP... (3 Replies)
Discussion started by: balareddy
3 Replies

8. AIX

disable inbound mail for AIX 5.3

Hi All, How do I disable inbound mail for AIX 5.3 server? I just need the outbound mail. It's using the native sendmail program. Thank you! (1 Reply)
Discussion started by: itik
1 Replies

9. UNIX for Dummies Questions & Answers

Disable root for AIX 5.2

I am able to disable direct root login through telnet. But when I add the rlogin = false into the /etc/security/user file. I am unable to log in as root from ssh. I uncommented the "PermitRootLogin yes" in the sshd_config file. Still can't log in. Can anyone help? (0 Replies)
Discussion started by: james0125
0 Replies
Login or Register to Ask a Question