LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kickstart (https://www.linuxquestions.org/questions/linux-software-2/kickstart-129444/)

johnyy 12-28-2003 02:43 AM

kickstart
 
the kickstart did part of what i want it.. but didn't did the other half...
here my config for ks.cfg

part 1 work,but wrong do part 2
%post --nochroot
mkdir /mnt/temp
mount 10.30.0.2:/d/redhat /mnt/temp

(this will copy my own grub.conf to the new installed server.)
cp -f /mnt/temp/grub.conf /mnt/sysimage/etc/grub.conf

cp -f /mnt/temp/inittab /mnt/sysimage/etc/inittab
umount /mnt/temp

-----> didnt' do this part ?? it would work without part 1
(i guest it's that --nochroot thing cause the problem)

part2
/usr/sbin/useradd johnyy
/usr/sbin/usermod -p '$1$pja89/D7$eivl8KnrT.iGjH0d4dctU0' johnyy

part3 don't work at all(coudn't find a way)
also i coudn't delete the extra account like
/usr/sbin/userdel games
/usr/sbin/userdel shutdown

help
thanks


All times are GMT -5. The time now is 06:36 PM.