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
Solved

Windows type?

Posted on 2000-03-14
8
220 Views
Last Modified: 2013-12-27
on Solaris what is the difference between Console windows type
and Terminal windows type?

thank you
0
Comment
Question by:clemend
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 5

Expert Comment

by:paulqna
ID: 2617358
You mean /dev/console and the /dev/tty's ???
0
 
LVL 1

Expert Comment

by:sereda
ID: 2620014
I guess you mean CDE windows.
In that case, Console window differs from Terminal window just as /dev/console differs from /dev/tty.
If you open console window, /dev/console is redirected to that window.

/dev/console is used to output system messages and errors. For example, you may observe messages like 'sudo failed' on console.

Also, some programs may be limited to be run only from console device.

Hope this helps.

0
 

Author Comment

by:clemend
ID: 2620325
sereda

you are right. what I really want to know is

'some programs may be limited to be run only from console device. '

what do you mean by that?

regards
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 1

Expert Comment

by:sereda
ID: 2620363
A program can check what terminal device it is attached to. For example, daemons strip off attachment to a session in order to run in background.
Some programs that affect security can check that their session is associated with console - that will ensure that they cannot be run remotely.
0
 

Expert Comment

by:ashok_nair
ID: 2628926
console is physically connected to the server whereas terminal is not
0
 

Expert Comment

by:ashok_nair
ID: 2628935
ashok_nair changed the proposed answer to a comment
0
 
LVL 3

Accepted Solution

by:
kinsey earned 50 total points
ID: 2629538
In the Solaris OS the only command I know of that is restriced to /dev/console is the login for root users.

This can be controled by editing the file /etc/default/login
Look for the line containg the string CONSOLE and read the comments.


Harold
0
 
LVL 5

Expert Comment

by:paulqna
ID: 2629782
ashok ?? Dat is toch niet de ashok die ik ken heh?? Hoewel experts horen wel thuis op de EE. Welkom !!!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sudo logging 5 100
AIX  NFS  question 1 151
Ubuntu install gnome-session-fallback is failing 4 114
Using sort and uniq to pare down large syslog 6 51
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

839 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