[j-nsp] Suppress login message?
Joe McGuckin
joe at via.net
Wed Aug 31 13:22:33 EDT 2005
That was my first thought, but I wondered if the full login.conf capability
had been incorporated into the cli conf language.
On 8/31/05 1:46 AM, "Oleksandr Bezpalko" <obezpalko at gmail.com> wrote:
> 2005/8/31, Sorin CONSTANTINESCU <consta at gmail.com>:
>> On 8/26/05, Joe McGuckin <joe at via.net> wrote:
>>> Is there a way to suppress the login message? Either on a per user basis or
>>> on a per login basis?
>
>> I don't think you can supress the "system login message" just for some
>> users, since it's copied in /var/etc/issue, to be used by the telnet
>> daemon on login.
>>
>> You could either disable it for the whole router, or use JunOS 7.3R1.5
>> which has a bug that doesn't show the login message :P
>
> try to create custom login class in /etc/login.conf with
> welcome:/dev/null defined. and set this class to user which want be
> suppressed login message.
> default login message taken from /etc/motd
> and don't foreget cap_mkdb /etc/login.conf after editing file
--
Joe McGuckin
ViaNet Communications
994 San Antonio Road
Palo Alto, CA 94303
Phone: 650-213-1302
Cell: 650-207-0372
Fax: 650-969-2124
More information about the juniper-nsp
mailing list