Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fido7.ru.linux > #23317

Re: motd - message of the day

Path csiph.com!goblin3!goblin.stu.neva.ru!ddt.demos.su!not-for-mail
From Anton Shepelev <antonius@freeshell.de>
Newsgroups fido7.ru.linux
Subject Re: motd - message of the day
Date Tue, 4 Aug 2020 17:55:33 +0000 (UTC)
Organization NPO RUSnet InterNetNews site
Lines 21
Sender fido7@ddt.demos.su
Approved <gateway@fido7.org>
Message-ID <1187514418@freeshell.de> (permalink)
References <1187514133@gioia.aioe.org> <1187514415@freeshell.de> <1187514416@gioia.aioe.org>
NNTP-Posting-Host ddt.demos.su
Mime-Version 1.0
Content-Type text/plain; charset=koi8-r
Content-Transfer-Encoding 8bit
X-Trace ddt.demos.su 1596563733 24904 194.87.13.37 (4 Aug 2020 17:55:33 GMT)
X-Complaints-To gatekeeper@fido7.org
NNTP-Posting-Date Tue, 4 Aug 2020 17:55:33 +0000 (UTC)
X-BeforeModerator-Path not-for-mail
X-BeforeModerator-NNTP-Posting-Host 94.79.3.84
X-BeforeModerator-X-Trace aspen.stu.neva.ru 1596563756 26683 94.79.3.84 (4 Aug 2020 17:55:56 GMT)
X-BeforeModerator-X-Complaints-To abuse@rusnet.ru
X-BeforeModerator-NNTP-Posting-Date Tue, 4 Aug 2020 17:55:56 +0000 (UTC)
X-Newsreader Sylpheed 3.5.0 (GTK+ 2.24.23; i686-pc-mingw32)
X-BeforeModerator-Message-ID <20200804205555.913c0d9c3cbab1eccb900c3a@freeshell.de>
X-Comment-To Valentin Kotelnitski
X-FTN-REPLYADDR Anton Shepelev <antonius@freeshell.de>
Xref csiph.com fido7.ru.linux:23317

Show key headers only | View raw


Valentin Kotelnitski to Anton Shepelev:

AS>> MOTD(5):     http://man.he.net/man5/motd
AS>> PAM_MOTD(8): http://man.he.net/man8/pam_motd

VK> Можно  заполнить  motd  текстом, даже картинкой.
VK> Таким образом можно уведомлять  пользователей  о
VK> важных  событиях.   Hо как чередовать сообщения,
VK> выводить рандомную назидательную цитату?  Hавер-
VK> ное, для этого нужен специальный скрипт.

Можно  и  скриптом, но я скриптовыt языки так сильно
не люблю, что для меня проще написать  программу  на
Си, которая будет в нужный момент заменять этот файл
случайным файлом из указанной  директории.   Хочешь,
напишу  тебе  такую программу.  Hо я не знаю, как её
установить, чтобы она срабатывала перед тем, как Ли-
нукс выдаёт сообщение дня.

-- 
Anton Shepelev

Back to fido7.ru.linux | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-06-17 18:17 +0000
  Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 12:08 +0000
    Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-04 17:19 +0000
      Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 17:49 +0000
        Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-04 18:14 +0000
      Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 17:55 +0000
        Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-04 18:08 +0000
          Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 19:58 +0000
            Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-05 06:40 +0000
          Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 20:01 +0000
      Re: motd - message of the day "Andrey Melnikoff" <temnota+news@kmv.ru> - 2020-08-05 12:35 +0000
        Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-05 15:59 +0000
          Re: motd - message of the day "Andrey Melnikoff" <temnota+news@kmv.ru> - 2020-08-05 21:11 +0000
            Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-06 06:39 +0000

csiph-web