Adding user with rpm in %packages section

Matt Rose mrose at n-able.com
Thu Apr 9 14:48:33 UTC 2009


Whoops!  you need to specify the full path, or the package name, so either

Requires: /usr/sbin/useradd,/usr/sbin/groupadd

or

Requires: shadow-utils

Matt

Tom Brown wrote:
>> You need to make sure adduser and addgroup are in the Requires: line
>> of the spec file.  Possibly you need a PreReq: line in the .spec file,
>> but according to Jeff Johnson, that's not clear.  Try putting
>> adduser/group in the Requires line first.
>>
>>     
>
> that did not seem to help -
>
> Requires: useradd groupadd
>
> will keep digging
>
> thanks
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20090409/0d045b14/attachment.htm>


More information about the Kickstart-list mailing list