URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 34848
[ Назад ]

Исходное сообщение
"подсказки во FreeBSD"

Отправлено vavcg , 18-Сен-03 12:32 
Извините, забыл как отключить эти подсказки при логине во FreeBSD...
Может кто помнит......

Содержание

Сообщения в этом обсуждении
"подсказки во FreeBSD"
Отправлено denn , 18-Сен-03 12:33 
не знал, не знал и забыл;)))
/etc/motd

"подсказки во FreeBSD"
Отправлено Messmer , 18-Сен-03 12:40 
>не знал, не знал и забыл;)))
>/etc/motd

/etc/rc.conf update_motd="NO"


"подсказки во FreeBSD"
Отправлено vavcg , 18-Сен-03 13:48 

>/etc/rc.conf update_motd="NO"

че-то не помогает......



"подсказки во FreeBSD"
Отправлено vavcg , 18-Сен-03 13:00 
>не знал, не знал и забыл;)))
>/etc/motd

Это-то понятно - там у меня написано Welcome to FreeBSD! - то что мне надо, а после вываливаются штуки типа :

You can permanently set environment variables for your shell by putting them
in a startup file for the shell.  The name of the startup file varies
depending on the shell - csh and tcsh uses .login, bash, sh, ksh and zsh use
.profile.  When using bash, sh, ksh or zsh, don't forget to export the
variable.



"подсказки во FreeBSD"
Отправлено kp , 18-Сен-03 13:55 
>You can permanently set environment variables for your shell by putting them
>in a startup file for the shell.  The name of the
>startup file varies
>depending on the shell - csh and tcsh uses .login, bash, sh,
>ksh and zsh use
>.profile.  When using bash, sh, ksh or zsh, don't forget to
>export the
>variable.
посмотри в домашнем каталоге файл .login или .profile в зависимости от используемого Shell'a - там должна быть прописана команда, запускающаяся при входе - смотри выше - там все написано


"подсказки во FreeBSD"
Отправлено lavr , 18-Сен-03 14:21 
>>не знал, не знал и забыл;)))
>>/etc/motd
>
>Это-то понятно - там у меня написано Welcome to FreeBSD! - то
>что мне надо, а после вываливаются штуки типа :
>
>You can permanently set environment variables for your shell by putting them
>
>in a startup file for the shell.  The name of the
>startup file varies
>depending on the shell - csh and tcsh uses .login, bash, sh,
>ksh and zsh use
>.profile.  When using bash, sh, ksh or zsh, don't forget to
>export the
>variable.

либо смотри в /etc/rc* что выводится после motd, либо в shell'овских
старап файлах