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

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

 



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.






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux