ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksey Birukov <birukov@vladinfo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] cron.allow
Date: Sat, 15 Jan 2005 14:50:54 +0300
Message-ID: <200501151450.59947.birukov@vladinfo.ru> (raw)
In-Reply-To: <200501151351.21076.birukov@vladinfo.ru>

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

В сообщении от 15 Январь 2005 13:51 Aleksey Birukov написал(a):
> В сообщении от 15 Январь 2005 13:25 Denis Kirienko написал(a):
> > Получил Sat, 15 Jan 2005 12:33:32 +0300 от Aleksey Birukov следующее
> >
> > письмо:
> > > Где можно узнать формат файла cron.allow/deny? Удивительно, но я не
> > > нашел его в документации.
> >
> > man crontab
> >
> > Кажется, это обычный список имен пользователей, одно имя на строку.
>
> Странно...
> Права на файл /usr/bin/crontab - 700
> Если изменить права на 755 и прописать в /etc/cron.allow
> "user"
> все равно выдается
> $ /usr/bin/crontab -e
> cron/user: Permission denied
Вот, что я вычитал:
Пользователю разрешено выполнять команду crontab только при условии, что его 
имя встречается в файле /usr/lib/cron/cron.allow. Если этого файла не 
существует, то проверяется файл /usr/lib/cron/cron.deny для того чтобы 
узнать, не запрещен ли пользователю доступ к crontab. Если оба файла 
отсутствуют, то только суперпользователю разрешено планировать регулярные 
действия. Если cron.allow не существует, cron.deny существует, но не содержит 
имен, то использовать команду crontab разрешено всем. Файлы cron.allow и 
cron.deny содержат по одному имени в строке

Тогда почему не работает crontab -e ?
>
> > --
> > Денис
> >
> > _______________________________________________
> > Community mailing list
> > Community@altlinux.ru
> > https://lists.altlinux.ru/mailman/listinfo/community

-- 
$respect

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

  parent reply	other threads:[~2005-01-15 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15  9:33 Aleksey Birukov
2005-01-15 10:25 ` Denis Kirienko
2005-01-15 10:51   ` Aleksey Birukov
2005-01-15 11:12     ` Denis Kirienko
2005-01-15 11:50     ` Aleksey Birukov [this message]
2005-01-15 15:55       ` Denis Kirienko

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=200501151450.59947.birukov@vladinfo.ru \
    --to=birukov@vladinfo.ru \
    --cc=community@altlinux.ru \
    /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