• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

Solaris 9 and /etc/issue

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
skulleyw3
Asked:
skulleyw3
  • 3
  • 2
  • 2
  • +3
1 Solution
 
yuzhCommented:
Put your message in:

/etc/motd file
0
 
OtetelisanuCommented:
or in the /etc/profile
with echo "blablabla"
All users read this file.
0
 
colsey79Commented:
/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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
colsey79Commented:
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
 
liddlerCommented:
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
 
skulleywCommented:
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
 
yuzhCommented:
What happen if you put the message in /etc/motd, of course the
message will be display after login.
0
 
skulleywCommented:
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
 
yuzhCommented:
I think it is ok to PAQ and refund.
0
 
moduloCommented:
PAQed - no points refunded (of 50) as questionner did not return...

modulo
Community Support Moderator
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now