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

Re: [RFC] adding system users: which is the best way??



On Sun, 30 Nov 2003, Brian May wrote:

> On Sun, Nov 30, 2003 at 03:07:35AM +0100, Peter Palfrader wrote:
> > Some packages remove the user when they are purged.  This is even worse
> > I think.
> 
> Presumable, if you purge the package, then the user is no longer needed.
> 
> So shouldn't the user be deleted?

We cannot guarantee that no file on disk is owned by the user or group.
The local admin may for instance have made a backup copy of files owned
by the user (cp -a /etc/foo/ /etc/foo.bak;  suppose something in that
dir is uid or gid user).  After purging the package they are still there
and after installing another daemon they are suddenly owned by another
package's user.

Peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: