Re: NIS and systemd-udevd

2023-07-26 Thread Greg Wooledge
On Wed, Jul 26, 2023 at 10:31:09AM +0200, Christoph Pleger wrote: > I found out that, though this works for users listed in /etc/passwd, it > does not for users who have a remote NIS account. > > That problem already occurred a longer time ago, but in the meanwhile, > I had solved (by following su

NIS and systemd-udevd

2023-07-26 Thread Christoph Pleger
Hello, I have the following udev rule in /lib/udev/rules.d/99-local.rules: ACTION=="add", SUBSYSTEM=="block", ATTRS{removable}=="1", PROGRAM="/lib/udev/foreground-user", RESULT!="root", MODE="0600", OWNER="$result" This is to ensure that, if someone is logged in on the graphical console at the t