Re: /etc/issue





Coleman, Kelley (HAC) wrote:

I log in using ssh on Reflection, which apparently is controlled by the
sshd_config file.  My BANNER parameter shows up there no problem, thanks
to other guidance I received here.

The place I'm trying to get the banner is on the console (which I rarely
use), at the login page. I was pointed to the /etc/issue file. I put
the banner verbiage in there, but it doesn't show up on the console. I'm
almost wondering if there isn't a bitmap I can create then make that the
background. I don't know...I'm starting to give up.


Updating /etc/issue should be effective immediately... but each console has to have a reason to notice the change. A reboot would certainly do it, but isn't necessary. Quick lesson:
Each console is a running process (mingetty), typically configured to respawn (in /etc/inittab) if it ever exits. So, how can you make it exit?
One way that requires the least Linux knowledge is to simply login to each console and log back out.
Then the updated /etc/issue should appear. Repeat for each console. (Ctrl-Alt-F[123456] (though only Alt-Fx is needed when switching between
text consoles, but how many parenthesis deep should I go in this explanation? :-))


Alternatively, you could probably kill each mingetty using your favorite method, eg. "ps -(your favorite options) |grep mingetty" followed by
"kill {fill in the pids}". Or use "killall mingetty". Lots of other ways possible too. Experiment. Sue for your money back if this advice doesn't work or causes problems... :-)


- Wayne (still not "Wayner")



-----Original Message-----

From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Michael Velez
Sent: Monday, January 30, 2006 1:50 PM
To: 'General Red Hat Linux discussion list'
Subject: RE: /etc/issue





-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Coleman, Kelley (HAC)
Sent: Monday, January 30, 2006 3:21 PM
To: General Red Hat Linux discussion list
Subject: /etc/issue


Is there a way to have changes made to the /etc/issue file active without rebooting the server? I've added a smattering of text per ISO





request that I need to prove works, but can't reboot the system for several days. It doesn't seem to just show up, so I figure a restart of some service might make it happen. Any thoughts?

Kelley Coleman
Database Administrator
VA Health Administration Center
Denver, Colorado
303-331-7521-o




Updating /etc/issue should not require a reboot (I've tested this on my RHEL4 and it still works). This may be a silly question but have you tried just hitting return to get a new login prompt message?

Michael

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: logging console login
    ... What i want in common with Linux and Solaris is console logins to ... least network logins can be bared from root login and force people to login as themselves and switch user, but root login at the console is ... Solaris and Linux log this event without any further configuration, but with HP and AIX for that matter they dont at the moment. ...
    (comp.sys.hp.hpux)
  • Re: 5.0.7 machine locks up!
    ... > 1 login is through the Digi Terminal Server ... > had one console on tty02 in an existing shell where I could type ... This could very well be a disk hang. ... Link scodb into the kernel, break into the kernel debugger when the ...
    (comp.unix.sco.misc)
  • Re: Novices questions
    ... accessing the system from the serial console is initially much easier. ... Pressing return should get you the>>> prompt. ... When you login on the GUI login screen, press the "OPTIONS" button, and in the session type, you choose "failsafe" instead of "New desktop" or "DecWindows" This *MAY* bypass the licencing issue. ...
    (comp.os.vms)
  • Re: [opensuse] Console login before x login
    ... Console login before x login ... (Ctrl-Alt-Fx), before login by KDM, ... has the wait action flag, and comes before the lines that start the console gettys: ...
    (SuSE)
  • Re: OPA0 Console connection
    ... will start a login upon unsolicited input, ... to be expected behaviour, yes, assuming that the console serial ... console serial line connection, and you should see failed logins ... depending on what's initiating the chatter on the line. ...
    (comp.os.vms)