On Fri, Aug 21, 2015 at 1:29 PM, Dominick Grift <dac.overr...@gmail.com> wrote:
> On Fri, Aug 21, 2015 at 01:10:51PM +0300, Mantas Mikulėnas wrote: > <snip> > > > > > > > i think it kind of sucks that systemctl --user list-units can be used > to > > > determine who is currently logged in. ( it shows active mount units for > > > XDG_RUNTIME_DIR and since those have UID as name you can see who is > > > logged in. > > > > > > > Hmm, and `findmnt` doesn't? > > unpriv users do not have access to mount or findmount in my system, and > for example df -h does not list them because the user is not allowed to > get attributes of tmpfs file systems. So /run/user mounts do not show up > in df -h > Do they have access to `cat /proc/self/mounts`? -- Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel