LINUX.ORG.RU

motd


0

0

Можно ли сделать, чтобы /etc/motd не показывался каждый раз при логине по ssh?


Re: motd

> Можно ли сделать, чтобы /etc/motd не показывался каждый раз при логине по ssh?

rm /etc/motd

nsav ()
Ответ на: Re: motd от mikhail

Re: motd

Нет, нельзя.

Demetrio ★★★★★ ()

Re: motd

man sshd_config:

     PrintMotd
             Specifies whether sshd should print /etc/motd when a user logs in
             interactively.  (On some systems it is also printed by the shell,
             /etc/profile, or equivalent.)  The default is ``yes''.

Zulu ★★☆☆ ()
Ответ на: Re: motd от mikhail

Re: motd

Ну, если ты имеешь права на запись в конфиг sshd... Не обязательно рутовые 8)

Zulu ★★☆☆ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.