The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
only root can login through X window hai_jab UNIX Desktop for Dummies Questions & Answers 0 08-12-2007 07:29 AM
Root window banner rtoba UNIX for Dummies Questions & Answers 0 02-16-2006 06:05 PM
Run non-root script as root with non-root environment bubba112557 UNIX for Dummies Questions & Answers 2 12-03-2004 12:39 AM
Problem with X11 Root Window ljfong UNIX for Advanced & Expert Users 0 03-29-2004 05:39 AM
window 2000 professional not pinging my window 98 system. kayode Windows & DOS: Issues & Discussions 10 11-13-2003 03:12 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-22-2006
rtoba rtoba is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 21
Root window banner, Please help

Does anyone know how I could display a banner at the root window level and posibly allow users to log in from the root window. I need to display a Warning Banner at the root window level so the users can read the warning then login.

Solaris 7 is the OS I am running

Thanks in advance
  #2 (permalink)  
Old 02-22-2006
qfwfq qfwfq is offline
Registered User
  
 

Join Date: Feb 2005
Location: Canada
Posts: 133
Are you asking how to put a message so everyone will see it when they log in? If yes, use /etc/motd and you can even add a sleep command so everyone will see it.
  #3 (permalink)  
Old 02-22-2006
rtoba rtoba is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 21
The /etc/motd file works fine, but this is not what I am looking for. The warning banner that I need to display should be before anyone logs in. The banner should be displayed and the only thing user can do is read the warning and log in.
  #4 (permalink)  
Old 02-22-2006
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
/etc/issue is the file you're looking for....

Cheers
ZB
  #5 (permalink)  
Old 02-22-2006
rtoba rtoba is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 21
I have been looking at the /etc/issue file and I don't know how to use it. I believe I need some Ctl-v ESC characters but don't really know what to do. Can anyone give me an example on using the /etc/issue file? For example, how to print out "Hello World".
  #6 (permalink)  
Old 02-22-2006
dsbeerf's Avatar
dsbeerf dsbeerf is offline
Registered User
  
 

Join Date: Dec 2005
Location: Chicago, IL USA
Posts: 58
Quote:
Originally Posted by rtoba
I have been looking at the /etc/issue file and I don't know how to use it. I believe I need some Ctl-v ESC characters but don't really know what to do. Can anyone give me an example on using the /etc/issue file? For example, how to print out "Hello World".
/etc/issue is a simple ASCII file. Anything you put in there will get displayed,
BEFORE the login prompt. What are you trying to do with it ? FLASH the screen ? Clear the screen and then output your "banner message" ?

Control codes are not necessary.
Here's your "Hello World": (IF you are using sh, bash, or ksh)
echo "">/etc/issue
echo " Hello World !" >>/etc/issue
echo "" >>/etc/issue

====
  #7 (permalink)  
Old 02-23-2006
rtoba rtoba is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 21
I got it! I didn't realize the there was a unix banner command and I named a file banner. That is why I received that error. Thank you so much for you help again...


Atoba
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0