ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] sucap не работает
@ 2006-06-13 10:06 Alexey Tourbin
  2006-06-13 12:13 ` Dmitry V. Levin
  0 siblings, 1 reply; 13+ messages in thread
From: Alexey Tourbin @ 2006-06-13 10:06 UTC (permalink / raw)
  To: devel

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

Из cron.daily нужно запускать программу на шелле (примерно как osec),
при этом желательно выполнять программу от псевдопользователя и
сбросить все права, кроме CAP_DAC_READ_SEARCH (которые должны быть как у
рута).  Как это сделать с помощью libcap-utils?

# sucap at at ls         
Caps: =ep cap_setpcap-ep
Caps: =
[debug] uid:500, real uid:500
sucaps: capsetp: Operation not permitted
sucap: child did not exit cleanly.
#

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-06-14 22:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13 10:06 [devel] sucap не работает Alexey Tourbin
2006-06-13 12:13 ` Dmitry V. Levin
2006-06-13 12:52   ` [devel] psec O_NOATIME Alexey Tourbin
2006-06-13 15:25     ` Dmitry V. Levin
2006-06-13 15:47       ` Alexey Tourbin
2006-06-13 15:51         ` Dmitry V. Levin
2006-06-13 16:25           ` Alexey Tourbin
2006-06-13 15:53         ` [devel] O_NOATIME behaviour changed in linux-2.6? Dmitry V. Levin
2006-06-13 16:31           ` Sergey Vlasov
2006-06-13 15:04   ` [devel] sucap не работает Alexey Tourbin
2006-06-13 15:30     ` [devel] sucap + execcap = Alexey Tourbin
2006-06-13 19:22       ` Alexey Tourbin
2006-06-14 22:12         ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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