On Tue, 13 Dec 2005, Olleg Samoylov wrote:
> How fcron know what group to choose? There are no group settings neither 
> in config file nor in command options. Did gid setted in compile time? 

By name (getpwent() lookup).  The name is set to 'fcron'.  I don't recall if
it uses this only to locate the user and then uses the primary group for
that user, or if it also chegid to fcron.

> But in postinst don't set explicitly what group id assign to fcron group.

Yes, it does:
adduser --system --group --home /var/spool/fcron \
        --no-create-home --disabled-password fcron

This creates a fcron _system_ user AND a fcron _system_ group.

I have no idea how fcron could get things wrong without external tampering.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to