Re: Famd running with my user id?
-----BEGIN PGP SIGNED MESSAGE-----
Greg Folkert wrote:
>> After rebooting it again, I found famd still ran as me. Is famd supposed
>> to behave like this? I never think a daemon that starts from init script
>> should change itself to a normal user privilege. And another etch box of
>> mine has famd running as root correctly. Is this a bug?
> Yes, why would you have it run as root?
> FAM is a userland process for monitoring YOUR files YOU have open. I
> have FAM installed on a server of mine, when I connect using IMAP, it
> runs as my user. FAM == File Alteration Monitor.
I do not think so. I also have other services running on my box and they
either run as root or as their own system user.
Yes FAM is used to monitor files of mine. But after the daemon changes
its privilege to a normal user, it cannot change back to root again. So
on a multi-user system, when other users want to monitor *their* files,
the daemon cannot get access to them. That is the point why such a
daemon should not change itself to a normal user of the system.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----