To: Discussion list about Kickstart <kickstart-list redhat com>
Subject: Re: Adding user with rpm in %packages section
Date: Thu, 9 Apr 2009 10:48:33 -0400
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.