?
Solved

Solaris 9 and /etc/issue

Posted on 2003-03-12
10
Medium Priority
?
403 Views
Last Modified: 2013-12-27
I know that I am supposed to be able to create a login warning banner in /etc/issue and have it display in CDE before login... but it doesn't appear to be working on my system.  What am I missing?  Solaris 9, Ultra 5.

Thanks
Bill
0
Comment
Question by:skulleyw3
[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
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 8124283
Put your message in:

/etc/motd file
0
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 8126016
or in the /etc/profile
with echo "blablabla"
All users read this file.
0
 
LVL 2

Expert Comment

by:colsey79
ID: 8166164
/etc/issue will only be shown on logging in via telnet/command line.

Try the following, it basically explains how to bring up an arbitrary (console) window from dtlogin before logging in. Here's how to display an application, in this example xclock, at the dtlogin window:

1. mkdir -p /etc/dt/config
   cp /usr/dt/config/Xconfig /etc/dt/config  

   Edit the file /etc/dt/config/Xconfig so that it contains the following line:

     Dtlogin*grabServer: False
   
2. cp /usr/dt/config/Xsetup /etc/dt/config

   Using your favorite text editor, edit Xsetup and put this on the last line:

      (sleep 10; /usr/openwin/bin/xclock)&
      Make sure that the ampersand is there at the end.      

Examples of why a user may want to set this up include:

Display a console window due to console messages appearing across the screen, causing visual artifacts in the dtlogin screen.

Display a window from the CDE login to show users a proprietary/legal message before they even login into CDE.

HTH
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Expert Comment

by:colsey79
ID: 8166180
I didn't mention... you could use the above process to cat the issue file or some such... you've got the window to display whatever you like.
0
 
LVL 18

Expert Comment

by:liddler
ID: 10475220
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by cosley79

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer
0
 

Expert Comment

by:skulleyw
ID: 10486319
I tried the suggestions from colsey79, and while it does launch the application (such as xclock), it does so *after* login by a user.  Nice trick, but wasn't what I was looking for.  

Cleanup this question as needed, but I didn't receive a working solution.

Thanks to everyone for their answers.

Bill
0
 
LVL 38

Expert Comment

by:yuzh
ID: 10486399
What happen if you put the message in /etc/motd, of course the
message will be display after login.
0
 

Expert Comment

by:skulleyw
ID: 10486518
I agree... however, /etc/issue is supposed to display in CDE before login.  It has worked in prior versions of Solaris (IIRC it works in Solaris 8), and I know it works in all versions of Digital/Tru64.  I suspect it works in other flavors but don't have other systems available to test it in.  It does not appear to work in Solaris 9 - or at least *I* have failed to get it working.

Obviously, after a year, its not a big deal, and I have no issue with just closing/deleting the question.  Its just irksome...
0
 
LVL 38

Expert Comment

by:yuzh
ID: 10486611
I think it is ok to PAQ and refund.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10517017
PAQed - no points refunded (of 50) as questionner did not return...

modulo
Community Support Moderator
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
Suggested Courses

752 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