Solved

How to disable input on CDE console?

Posted on 1997-06-12
4
271 Views
Last Modified: 2013-12-16
How I can disable the the input of characters within of the
CDE console of Solaris 2.5.1?
I tried chmod, chown and chgroup of /dev/console, but it
does not solve the problem.
0
Comment
Question by:rolandti
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
pxh earned 100 total points
ID: 1812404
Are you shure you really need to do this? The console window is just a normal input window, with the additional feature that it receives and displays the console messages. Otherwise it has no particular function.

You might argue that you don't want the console messages being mixed up with other input and output. But then you just could look into the file /var/adm/messages where the console messages are logged into.

Hope this helps,

Peter (pxh@mpe-garching.mpg.de)

0
 

Author Comment

by:rolandti
ID: 1812405
Hi Peter,

I need a solution to show system messages in a separate window
without possibility to enter shell commands in this window.
Maybe the console is not the right way to do this!
Do you know onother way to do this?

Roland
0
 
LVL 2

Expert Comment

by:pxh
ID: 1812406
If you are ready to do some programming it's possible: you write a small X11 application which opens a window and displays the contents of /var/adm/messages, in a mode like "tail -f /var/adm/messages" would do it. The problem could be who and when to start this application...

Could you give me some more background on your motivation?

Peter

0
 

Author Comment

by:rolandti
ID: 1812407
Thanks for your tip. A possible solution for me is to start

xterm -C -e tail -f /var/adm/messages &

in /etc/inittab or in a script located in /etc/rc2.d.

Roland
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now