Re: %post

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

 



"Martinez, Carlos R" wrote:
> 
> This does not work....  I get a chkconfig usage error when executing it this
> way.  So seems like it is finding it the chkconfig binary but it has
> problems.  Any other suggestions/recommendations??
> 
> thx

telnet is part of xinetd.  You must turn on xinetd:
chkconfig xinetd on

This makes sure to start xinetd at boot time...

Then you must tell xinetd to turn on telnet.  In /etc/xinetd.d/telnet
you should change 
disable = yes
to
disable = no

Thanks,
Josh

> 
> -----Original Message-----
> From: Taylor, ForrestX [mailto:forrestx.taylor@xxxxxxxxx]
> Sent: Thursday, January 16, 2003 9:59 AM
> To: kickstart-list@xxxxxxxxxx
> Subject: Re: %post
> 
> Martinez, Carlos R wrote:
> > What is the appropriate way to change xinetd settings in the %post
> > section of the ks.cfg file?  I've tried many things and can't seem to
> > make it work.  I'm currently executing:
> >
> >
> >
> > %post -nochroot
> >
> >
> >
> > /sbin/chkconfig -level 345 telnet on
> >
> >
> >
> > I get errors with "no such file or directory".  Any help is appreciated.
> 
> Drop the nochroot.  You want the chroot environment to make changes to
> your system.
> 
> %post
> /sbin/chkconfig telnet on
> 
> will work.
> 
> Forrest
> --
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-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