ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Speccyfighter <zxwarior@tut.by>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm]  crontab - неверные действия или странности?
Date: Sat, 27 Dec 2008 01:25:09 +0200
Message-ID: <495567D5.8070906@tut.by> (raw)

Система ALD4.0 с накатаным branch.
Долго рассказывать что делал, но в финале так:

Убрал в /opt для бэкапа файлы
/var/cron/cron.allow
/var/cron/cron.deny

В cron.allow:
root
mylogin

В cron.deny:
nina

Согласно man'у если файл cron.allow не создан и юзер в нем не
указан, то только администратору разрешено использовать crontab

Между тем даже если cron.allow и cron.deny не созданы, по
crontab -e
могу создать, как пользователь, файл и редактировать его.
Можно также подать из консоли
su - nina
и от пользователя nina создать и редактировать ее crontab файл.

Соответственно вопрос:
- это багофича или безнадежно неверно делаю что-то?
- если неверно, то что?
- как все-таки разрешить использовать crontab только определенным
пользователям?

Также отправлял в /var/cron/ файлы (uid:root gid:crontab) с пользователями
/var/cron/cron.allow
/var/cron/cron.deny
но ситуация совершенно аналогична, вне зависимости кто куда занесен.

Посоветуйте, как разрулить права использования crontab.



             reply	other threads:[~2008-12-26 23:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-26 23:25 Speccyfighter [this message]
2008-12-27  0:21 ` Alexey I. Froloff
2008-12-27  0:39   ` Speccyfighter
2008-12-27  7:47     ` Andrey Rahmatullin
2008-12-27 13:36     ` Alexey I. Froloff

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=495567D5.8070906@tut.by \
    --to=zxwarior@tut.by \
    --cc=community@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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git