[j-nsp] Suppress login message?

Oleksandr Bezpalko obezpalko at gmail.com
Wed Aug 31 04:46:18 EDT 2005


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

-- 
[BO-RIPE]



More information about the juniper-nsp mailing list