Question about userdel/groupdel usage in uninstall scripts

Fernando Nasser fnasser at redhat.com
Fri Feb 9 20:42:10 UTC 2007


Phil Knirsch wrote:
> Hi folks.
>
> And another question for the next meeting, this time about the use of 
> userdel and groupdel in scripts after removal of a package.
>
> I suspect for users/groups in the 1-100 uid/gid range this is not a 
> problem, but removing any users or groups that were added without a 
> specific uid or gid can be a security issue as those ids might get 
> reused for accounts that were added later.
>
And for the 1-100 uid/gid range what is the use of removing it?

IMO userdel/groupdel should never, ever be used.

Regards,
Fernando






More information about the Fedora-maintainers mailing list