Changeset 34598ae for postlfs/security/heimdal/heimdal-config.xml
- Timestamp:
- 05/14/2004 06:52:08 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 056970c5
- Parents:
- ff3b4cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/heimdal/heimdal-config.xml
rff3b4cd r34598ae 176 176 </para> 177 177 178 <!--179 178 <para>Install <filename>/etc/rc.d/init.d/heimdal</filename> init script 180 179 included in the <xref linkend="intro-important-bootscripts"/> … … 182 181 183 182 <screen><userinput><command>make install-heimdal</command></userinput></screen> 184 -->185 186 <para>187 To automate the running of Kerberos server and188 <command>kpasswdd</command> daemon, use the following command to create189 the init.d script:190 </para>191 192 <screen><userinput><command>cat >etc/rc.d/init.d/heimdal << "EOF"</command>193 #!/bin/sh194 # Begin $rc_base/init.d/heimdal195 196 # Based on sysklogd script from LFS-3.1 and earlier.197 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org198 # Heimdal bootscript submitted by Randy McMurchy <LFS-User_at_mcmurchy_dot_com>199 200 . /etc/sysconfig/rc201 . $rc_functions202 203 case "$1" in204 start)205 echo "Starting KDC Server Daemon..."206 if test -f "/var/run/kdc.pid"207 then208 print_status warning running209 else210 /usr/sbin/kdc &211 sleep 1212 if test -f "/var/run/kdc.pid"213 then214 print_status success215 else216 print_status failure217 fi218 fi219 echo "Starting KDC kpasswdd Daemon..."220 if test -f "/var/run/kpasswdd.pid"221 then222 print_status warning running223 else224 /usr/sbin/kpasswdd &225 sleep 1226 if test -f "/var/run/kpasswdd.pid"227 then228 print_status success229 else230 print_status failure231 fi232 fi233 ;;234 235 stop)236 echo "Stopping KDC kpasswdd Daemon..."237 killproc /usr/sbin/kpasswdd238 echo "Stopping KDC Server Daemon..."239 killproc /usr/sbin/kdc240 ;;241 242 restart)243 $0 stop244 sleep 1245 $0 start246 ;;247 248 status)249 statusproc /usr/sbin/kdc250 statusproc /usr/sbin/kpasswdd251 ;;252 253 *)254 echo "Usage: $0 {start|stop|restart|status}"255 exit 1256 ;;257 esac258 259 # End $rc_base/init.d/heimdal260 <command>EOF261 chmod 754 /etc/rc.d/init.d/heimdal</command></userinput></screen>262 263 <para>264 Create the symbolic links to this file in the relevant <filename265 class="directory">rc.d</filename> directory with the following commands:266 </para>267 268 <screen><userinput><command>cd /etc/rc.d/init.d &&269 ln -sf ../init.d/heimdal ../rc0.d/K42heimdal &&270 ln -sf ../init.d/heimdal ../rc1.d/K42heimdal &&271 ln -sf ../init.d/heimdal ../rc2.d/K42heimdal &&272 ln -sf ../init.d/heimdal ../rc3.d/S28heimdal &&273 ln -sf ../init.d/heimdal ../rc4.d/S28heimdal &&274 ln -sf ../init.d/heimdal ../rc5.d/S28heimdal &&275 ln -sf ../init.d/heimdal ../rc6.d/K42heimdal</command></userinput></screen>276 183 277 184 </sect4>
Note:
See TracChangeset
for help on using the changeset viewer.