[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Adding users in %pre section of the kickstart file



On Thu, 3 Apr 2003, Sarika Inamdar wrote:

> Hello All,
> 
> We are installing a package during the installation of
> the Linux machine using the kickstart file.
> 
> But a pre-requisite for the package installation is
> that an useraccount has to be present.
> 
> Can we add an /usr/sbin/useradd command in the %pre
> section of the kickstart file ?

No.

> 
> Will this resolve the problem. Is there any better way
> of achieving the same ?

Doesn't the package's installation script create the account?

If not, in %post
useradd ...
rpm --install ....


-- 
Please, reply only to the list.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]