Minh, The local login prompt is read from /etc/issue, the networked prompt from /etc/issue.net You may need to check startup scripts in /etc/rc.d whether they overwrite any changes you make here.
There are special escape sequence for these files that you can google for that are used as replacable vars for things like the hostname, username, date, etc That is a pretty ancient version of Redhat you are playing with!! Martin On 9/17/07, Minh Van Le <[EMAIL PROTECTED]> wrote: > > I'm trying to remember how to change my remote "login:" prompt in Red Hat > 6.2. > > Here's the tty# local login screen with the hostname "sandbox" preceding > the > "login:" prompt: > > Red Hat Linux release 6.2 (Zoot) > Kernel 2.2.14-5.0 on an i586 > sandbox login: > > But when I try to connect remotely (ie. via ssh/telnet) I get a "login:" > prompt without the hostname: > > Red Hat Linux release 6.2 (Zoot) > Kernel 2.2.14-5.0 on an i586 > login: > > I've tried altering the default mingetty's in /etc/inittab to "mgetty -p > '@ > login: ' tty1" but it gives me some kind of AT modem string and I'm unable > to enter a username/password at all. I also don't think changing tty1 to > pts/0 etc would work. > > Does anybody know how to customize the remote "login:" prompt in Red Hat ? > > Do I have to change something in inetd.conf ? > > Thanks ! > > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- Regards, Martin Martin Visser -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
