Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to disable input on CDE console?

Posted on 1997-06-12
4
Medium Priority
?
282 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
pxh earned 300 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

722 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