'\" t .\" Title: mesg .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.23 .\" Date: 2025-03-29 .\" Manual: Корисничке наредбе .\" Source: util-linux 2.41 .\" Language: English .\" .TH "MESG" "1" "2025-03-29" "util\-linux 2.41" "Корисничке наредбе" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "НАЗИВ" mesg \- приказује (или не приказује) поруке од других корисника .SH "УВОД" .sp \fBmesg\fP [\fIопција\fP] [\fBn\fP|\fBy\fP] .SH "ОПИС" .sp Помагало \fBmesg\fP корисник позива да контролише приступ писању који други имају терминалном уређају који је придружен са стандардним излазом грешке. Ако је приступ писању дозвољен, онда програми као што су \fBtalk\fP(1) и \fBwrite\fP(1) могу приказати поруке на терминалу. .sp Traditionally, write access is allowed by default. However, as users become more conscious of various security risks, there is a trend to remove write access by default, at least for the primary login shell. .sp The initial permissions for the terminal are set by \fBlogin\fP(1) according to TTYPERM and TTYGROUP from /etc/login.defs. The default is mode \fI0620\fP if a tty group is used, and \fI0600\fP without the group. The default tty group name is "tty". .sp To ensure that your ttys are set in a portable and independent manner from system settings, \fBmesg\fP should be executed in your login scripts. .sp \fBmesg\fP modifies the write permissions for a group on the current terminal device. Since version 2.41, \fBmesg\fP can no longer be compiled to make the terminal writable for \fIothers\fP and strictly modifies only \fIgroup\fP permissions. The usual setup is to use a "tty" group and add relevant users to this group. Alternatively, a less secure solution is to set utilities like \fBwrite\fP(1) or \fBwall\fP(1) to setgid for the "tty" group. .sp Помагало \fBmesg\fP тихо излази са стањем грешке 2 ако се не изврши на терминалу. У овом случају извршавање \fBmesg\fP је бесмислено. Опција линије наредби \fB\-\-verbose\fP приморава „mesg“ да испише упозорење у овој ситуацији. Ово понашање је уведено у издању 2.33. .SH "АРГУМЕНТИ" .sp \fBn\fP .RS 4 Онемогућава поруке. .RE .sp \fBy\fP .RS 4 Допушта да поруке буду приказане. .RE .sp Ако нису дати аргументи, \fBmesg\fP приказује тренутно стање поруке на излазу стандардне грешке. .SH "ОПЦИЈЕ" .sp \fB\-v\fP, \fB\-\-verbose\fP .RS 4 Објашњава шта је урађено. .RE .sp \fB\-h\fP, \fB\-\-help\fP .RS 4 Приказује текст помоћи и излази. .RE .sp \fB\-V\fP, \fB\-\-version\fP .RS 4 Display version and exit. .RE .SH "ИЗЛАЗНО СТАЊЕ" .sp \fBmesg\fP излази са једном од следећих вредности: .sp \fB0\fP .RS 4 Поруке су дозвољене. .RE .sp \fB1\fP .RS 4 Поруке нису дозвољене. .RE .sp \fB>1\fP .RS 4 Дошло је до грешке. .RE .SH "ДАТОТЕКЕ" .sp \fI/dev/[pt]ty*\fP, \fI/dev/pts/[0\-9]*\fP .SH "ИСТОРИЈАТ" .sp \fBmesg\fP (I) се појављује у UNIX упутству за програмере. Користи се за преокретање тренутног стања без аргумената пре издањаа 7 AT&T UNIX\-а. .SH "ПОГЛЕДАЈТЕ ТАКОЂЕ" .sp \fBlogin\fP(1), \fBtalk\fP(1), \fBwrite\fP(1), \fBwall\fP(1), \fBxterm\fP(1) .SH "ПРИЈАВЉИВАЊЕ ГРЕШАКА" .sp For bug reports, use the \c .URL "https://github.com/util\-linux/util\-linux/issues" "issue tracker" "." .SH "ДОСТУПНОСТ" .sp Наредба \fBmesg\fP је део пакета „util\-linux“ који се може преузети са \c .URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Архиве Линукс кернела" "."