From: Oleg Zenin <zenin_o@ihep.ru>
To: alexei.mezin@gmail.com,
"Культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] родители и дети
Date: Thu, 19 Nov 2020 23:40:22 +0300 (MSK)
Message-ID: <alpine.LFD.2.01.2011192321120.20845@localhost.localdomain> (raw)
In-Reply-To: <rp6ien$vvk$1@ciao.gmane.io>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 849 bytes --]
On Thu, 19 Nov 2020, Alexei V. Mezin wrote:
> Для начала можно включить компьютер в 21:01, чтоб крон не сработал до завтра.
Вставить, например, в rc.local:
h=`date +%H | sed 's,^0,,'`; test $h -ge 7 -o $h -lt 23 && chmod -x /usr/bin/tuxkart
> Может быть поможет anacron? Но и он не поможет, если игру запустить в 20:59.
Еще проще: переставить hardware clock.
Детям от обхода простых ограничений будет больше пользы, чем от непреодолимого для них запрета.
> Не говоря уже о более сложных случаях типа "cp /usr/bin/tuxkart ~/" в разрешенное
> время, а потом "cp ~/tuxkart /tmp;/tmp/tuxkart" в неразрешенное.
Пропатчить сам tuxkart, чтобы завершался при отсутствии ответа от pool.ntp.org или при возвращаемом по ntp времени
в неразрешенном интервале.
Если дите додумается обходить такие простые ограничения, то tuxkart ему станет неинтересен.
next prev parent reply other threads:[~2020-11-19 20:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 12:49 Alexei Mezin
2020-09-22 13:03 ` Michael Shigorin
2020-09-22 13:34 ` Alexei V. Mezin
2020-11-19 19:11 ` Alexei V. Mezin
2020-11-19 19:18 ` Oleg Zenin
2020-11-19 19:52 ` Alexei V. Mezin
2020-11-19 20:40 ` Oleg Zenin [this message]
2021-01-20 12:45 ` Michael Shigorin
2021-01-21 9:10 ` Alexei Mezin
2021-01-21 12:50 ` Alexey V. Vissarionov
2021-01-21 13:07 ` Alexei V. Mezin
2021-01-21 14:42 ` Alexey V. Vissarionov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.01.2011192321120.20845@localhost.localdomain \
--to=zenin_o@ihep.ru \
--cc=alexei.mezin@gmail.com \
--cc=smoke-room@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Культурный офтопик
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
public-inbox-index smoke-room
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.smoke-room
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git