non fedora-usermgmt user creation

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu Mar 9 10:36:52 UTC 2006


enrico.scholz at informatik.tu-chemnitz.de (Enrico Scholz) writes:

> * 'fedora-usermgmt' gets the following headers:
>   |+ Provides: shadow-utils
>   |  ...
>   |- Requires: shadow-utils
>   |+ Requires: /usr/sbin/useradd
>
> * every package which creates users will contain something like
>   | Requires(pre): shadow-utils
>   | ...
>   | %pre
>   | if test -x /usr/sbin/fedora-useradd; then
>   |    /usr/sbin/fedora-useradd ...
>   | else
>   |    /usr/sbin/useradd ...
>   | fi
>
>
> I could live with it.

This was too early: changes above will not work; when the package,
shadow-utils and fedora-usermgmt are in the same transaction,
fedora-usermgmt can be installed *after* the package which would be
wrong.


Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060309/017ee255/attachment.sig>


More information about the fedora-extras-list mailing list