Yeah I've been Googling all last night and it sounds like we've browsed the
same pages :) I saw some PAM stuff there but it sounds a little tricky. I think
that page was referring to some non-Redhat distribution, and the
/etc/pam.d/*.so stuff looks tricky to me.
I'm currently playing with "/sbin/mgetty -p <login prompt>" ... but can't seem
to get it to work.
According to the in.telnetd man page, it defaults to /sbin/login and I can
specify an alternative login program but
1. I don't know the Linux authentication / login architecture so I'm taking
stabs in the dark :)
2. I forgot how it all works except a few vague memories
man in.telnetd:
SYNOPSIS
/usr/sbin/in.telnetd [-hns] [-a authmode] [-D debugmode] [-L loginprg]
[-S tos] [-X authtype] [-edebug] [-debug port]
/etc/inetd.conf:
# original entry
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
# testing
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd -L
/sbin/mgetty
Damn it if only I kept those #linuxaus mIRC logs from 1998 ! I knew I should've
:)
-----Original Message-----
From: Martin Visser [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 18 September 2007 6:59 PM
To: [EMAIL PROTECTED]
Cc: Minh Van Le; [email protected]
Subject: Re: [SLUG] How do I customize the login: prompt ?
yes, some googling resulted in finding at least one version of getty.c that
only had "login:" hard-coded.
However there are lots of reference to "pam_user_prompt" which seem to
indicate that you can add a pam module to allow a change to be configured.
Someone might be able to add a clue - or just keep on following the google
conga!
On 9/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>>>> "Minh" == Minh Van Le <[EMAIL PROTECTED]> writes:
Minh> Yeah I forgot to mention that /etc/issue and /etc/issue.net are
Minh> banners created by rc.local.
Minh> What I'm trying to modify is the actual "login:" prompt itself.
It depends on which getty program you're using. For mgetty, the -p
option should work; for the Linux getty program there is no way.
--
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