non fedora-usermgmt user creation

Rex Dieter rdieter at math.unl.edu
Wed Mar 8 15:15:20 UTC 2006


Enrico Scholz wrote:
> ville.skytta at iki.fi (Ville Skyttä) writes:
> 
> 
>>>| %pre
>>>| if test -x /usr/sbin/fedora-useradd; then
>>>|    /usr/sbin/fedora-useradd ...
>>>| else
>>>|    /usr/sbin/useradd ...
>>>| fi
>>>
>>>with current fedora-usermgmt.
>>
>>Yes?  That's the functionality I suggested, just expressed with a
>>different shell syntax.  Combine something like the above and again,
>>_no_ dependencies on fedora-usermgmt in packages and I'm satisfied.
> 
> 
> Sorry, that's a point where I insist on: when a Fedora Extras package
> uses fedora-usermgmt, then it MUST have the corresponding 'Requires(...):
> fedora-usermgmt'.
> 
> Creating undeterministic behavior by randomly executing plain 'useradd'
> or 'fedora-useradd' is not my idea of package management.

It's not undeterministic.  You've claimed that fedora-useradd is 
*exactly* the same as regular useradd when not configured by the 
sysadmin.  So when/if fedora-usermgmt is installed or not shouldn't make 
a difference, right?  (-:

-- Rex




More information about the fedora-extras-list mailing list