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

Re: dynamic users (Re: dpkg-statoverride (Re: RFS: mediatomb -- open source (GPL) UPnP MediaServer with a web interface))



On Nov 9, 2007 2:46 PM, Justin Pryzby <jpryzby+d@quoininc.com> wrote:
> On Fri, Nov 09, 2007 at 02:26:42PM -0500, Andres Mejia wrote:
> > Thanks for the suggestions. I went ahead and made the changes. Here's
> > the changelog for 0.10.0-5 of this package.
> >
> >    [ Andres Mejia ]
> >    * Using deluser and delgroup commands to remove meditomb user and group.
> >    * Removed dependency on passwd.
> >    * Added --disabled-{login,password} for adduser in preinst.
> BTW did you know that adduser --system adds a user *and* a group?  For
> system users only.  {,} is a bashism of course.
>
> Why do you remove the user/group?  I think the suggestion is to leave
> dynamic system ID's to avoid them being recreated with a different
> (system) user which now has access to some stray files leftover from a
> different package.  If the admin wants to get rid of them, they can do
> find / -user $u -o -group $u -ls at their convenience, or look in
> obvious places or decide it's not worth the effort.
>
> I think if you do use deluser, it should be in "purge" and not
> "remove".

I meant to say purge. deluser and delgroup are used when purging (not
removing) the package.

-- 
Regards,
Andres Mejia



Reply to: