ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander <alxste@yandex.ru>
To: community@lists.altlinux.org
Subject: [Comm] как смонтировать или перемонтировать каталоги /run/user/... c опцией noexec?
Date: Wed, 1 Jun 2016 20:20:53 +0300
Message-ID: <f02eefcb-0fd7-8f3d-868d-a74cfe2405ad@yandex.ru> (raw)

Добрый день!
Помогите пожалуйста разобраться..
Хочу настроить систему так, чтобы все каталоги в которые обычный 
пользователь имеет право на запись, монтировались бы с опцией noexec.
Система на systemd, p8
Камнем преткновения стали динамически создаваемые точки монтирования 
вида /run/user/500.
Я так и не смог найти где настраиваются их опции монтирования.
В принципе их можно попробовать перемонтировать уже после создания с 
нужной опцией, но как заставить systemd выполнить скрипт после 
регистрации пользователя в системе  и создания этих точек монтирования к 
сожалению разобраться не смог.

С уважением, Александр.


             reply	other threads:[~2016-06-01 17:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-01 17:20 Alexander [this message]
2016-06-03  6:23 ` Alexander
2016-06-03 11:44   ` Ruslan
2016-06-04 19:41       ` Hihin Ruslan
2016-06-04 19:53         ` Alexander

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=f02eefcb-0fd7-8f3d-868d-a74cfe2405ad@yandex.ru \
    --to=alxste@yandex.ru \
    --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