Skip to contentSkip to conversation

Need to display a message after every reboot

DISCUSSION Sarika Inamdar 7 participants 7 messages May 6, 2003 – May 9, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

We have an application installed on Red Hat Linux 7.3. The application has many cryptographic librararies.
So we need to display a text message everytime the machine reboots. This message should be displayed before the login prompt comes.

Could you all let me know, which file I need to place the text message in ?

Thanks in Advance,
Sarika

#1 lore raw

on "5-6-2003" "Sarika Inamdar " writ:

: So we need to display a text message everytime the machine reboots. This : message should be displayed before the login prompt comes.

... you might want to condsider '/etc/issue' ...

Signature · 2 lines
... i'm a man, but i can change,
    if i have to , i guess ...
#2 lore raw
In reply to Sarika Inamdar
Quoted 7 lines

machine reboots. This
message should be displayed before the login prompt comes.

Could you all let me know, which file I need to
place the text message
in ?

man motd
However this will give the message on every login
screen

or you can put a message in rc.local

-S

=====

"All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident."
- Arthur Schopenhauer (1788-1860)

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com

#3 lore raw

motd is not displayed until after login, same with anything you put in rc.local. If you put it in /etc/issue it will be displayed before the login prompt, but be careful Redhat like to overwrite /etc/issue everytime the system boots.

Jeff

Quoted 33 lines · Sumit
Quoted 7 lines

machine reboots. This
message should be displayed before the login prompt comes.

Could you all let me know, which file I need to
place the text message
in ?

man motd However this will give the message on every login screen

or you can put a message in rc.local

-S

=====

"All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident."
- Arthur Schopenhauer (1788-1860)

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Jeff Largent                   ImageLinks, Inc.
Sr System Admin                Melbourne, Fl 32935
(321) 253-0011                 fax: (321) 253-5559
#4 lore raw
In reply to Sarika Inamdar

Out of curiosity, what do the crypto libs have to do with displaying a message before login?

Was this extraneous information or do the init routines take a lot of time generating seeds, keys, and 'what not' before a login prompt becomes available; and you just want to inform the user about the delay? (in which case /etc/issue probably won't help you)

Quoted 8 lines

Hello,

We have an application installed on Red Hat Linux 7.3. The application has many cryptographic librararies.
So we need to display a text message everytime the machine reboots. This message should be displayed before the login prompt comes.

Could you all let me know, which file I need to place the text message in ?

#5 lore raw
Quoted 9 lines · Jay Goodman
Quoted 6 lines

We have an application installed on Red Hat Linux 7.3. The application has many cryptographic librararies.
So we need to display a text message everytime the machine reboots. This message should be displayed before the login prompt comes.

Could you all let me know, which file I need to place the text message in ?

Out of curiosity, what do the crypto libs have to do with displaying a message before login?

I presume that he meant "cryptic" libraries (libraries which he didn't understand) rather than "cryptographic" libraries (libraries which transform data so that other people won't be able to understand it).

Signature · 1 line
Glynn Clements <[email protected]>
#6 lore raw
In reply to Sarika Inamdar
Quoted 7 lines · Sarika Inamdar

Hello,

We have an application installed on Red Hat Linux 7.3. The application has many cryptographic librararies.
So we need to display a text message everytime the machine reboots. This message should be displayed before the login prompt comes.

Quoted 6 lines

Could you all let me know, which file I need to place the text message in ?

Thanks in Advance,
Sarika

There should be a section in /etc/rc.local that updates /etc/issue.

Signature · 3 lines
tyler at zerodivide dot cx
AIM: zerodivide1101
Mobile SMS: tyler-mobile at zerodivide dot cx