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

Получил Sat, 15 Jan 2005 13:51:17 +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 права менять!
Восстановите все как было, обратите внимание на владельца root/crontab
и sgid-биты на /usr/bin/crontab! Верните все назад, почитайте еще раз
man crontab, а потом поговорим.

$ ll /usr/bin/crontab 
-rwx--s--x  1 root crontab 26836 Дек 19 18:48 /usr/bin/crontab
$ ll /etc/cron.deny 
-rw-r-----  1 root crontab 0 Дек 19 18:48 /etc/cron.deny

--
Денис



  reply	other threads:[~2005-01-15 11:12 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 [this message]
2005-01-15 11:50     ` Aleksey Birukov
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=20050115141205.38549817.kirienko@mccme.ru \
    --to=kirienko@mccme.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