[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Famd running with my user id?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

- --
Cheers,

Wei Chen
http://www.acplex.com/people/wchen/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGH4E2CIqXQV6BF28RAsYSAKCJXPWjSqws/4xmB7D2wfCzXYhVLQCg1CtV
K3ZYK7dJG6gm/iz16SDfzfE=
=/gHc
-----END PGP SIGNATURE-----



Reply to: