-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
126 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
beb34d1dfc72ba0571ce72bed03e06eb krb5-1.21.3.tar.gz | ||
b8ef6658d4d1057ed17081a29eb1e706 rc.krb5 | ||
6dd2e9f47e537fdbb5966a307a175a92 rc.kadmind | ||
f6b968dee400c2e819ea8a03ed653503 rc.kpropd | ||
c0955a05e275b12e76fe5c31c8378a10 rc.krb5 | ||
5cc66fb80a5e95ea94273eb0459bae42 rc.krb5kdc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/sh | ||
# | ||
# /etc/rc.d/kadmind: start/stop kadmind(8) KADM5 administration server | ||
# | ||
|
||
SSD=/sbin/start-stop-daemon | ||
PROG=/usr/sbin/kadmind | ||
|
||
case $1 in | ||
start) | ||
$SSD --start --exec $PROG | ||
;; | ||
stop) | ||
$SSD --stop --retry 10 --exec $PROG | ||
;; | ||
restart) | ||
$0 stop | ||
$0 start | ||
;; | ||
status) | ||
$SSD --status --exec $PROG | ||
case $? in | ||
0) echo "$PROG is running with pid $(pidof $PROG)" ;; | ||
1|3) echo "$PROG is not running" ;; | ||
4) echo "Unable to determine the program status" ;; | ||
esac | ||
;; | ||
*) | ||
echo "usage: $0 [start|stop|restart|status]" | ||
;; | ||
esac | ||
|
||
# End of file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/sh | ||
# | ||
# /etc/rc.d/kpropd: start/stop kpropd(8) Kerberos V5 replica KDC update server | ||
# | ||
|
||
SSD=/sbin/start-stop-daemon | ||
PROG=/usr/sbin/kpropd | ||
|
||
case $1 in | ||
start) | ||
$SSD --start --exec $PROG | ||
;; | ||
stop) | ||
$SSD --stop --retry 10 --exec $PROG | ||
;; | ||
restart) | ||
$0 stop | ||
$0 start | ||
;; | ||
status) | ||
$SSD --status --exec $PROG | ||
case $? in | ||
0) echo "$PROG is running with pid $(pidof $PROG)" ;; | ||
1|3) echo "$PROG is not running" ;; | ||
4) echo "Unable to determine the program status" ;; | ||
esac | ||
;; | ||
*) | ||
echo "usage: $0 [start|stop|restart|status]" | ||
;; | ||
esac | ||
|
||
# End of file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/sh | ||
# | ||
# /etc/rc.d/krb5kdc: start/stop krb5kdc(8) Kerberos V5 KDC | ||
# | ||
|
||
SSD=/sbin/start-stop-daemon | ||
PROG=/usr/sbin/krb5kdc | ||
|
||
case $1 in | ||
start) | ||
$SSD --start --exec $PROG | ||
;; | ||
stop) | ||
$SSD --stop --retry 10 --exec $PROG | ||
;; | ||
restart) | ||
$0 stop | ||
$0 start | ||
;; | ||
status) | ||
$SSD --status --exec $PROG | ||
case $? in | ||
0) echo "$PROG is running with pid $(pidof $PROG)" ;; | ||
1|3) echo "$PROG is not running" ;; | ||
4) echo "Unable to determine the program status" ;; | ||
esac | ||
;; | ||
*) | ||
echo "usage: $0 [start|stop|restart|status]" | ||
;; | ||
esac | ||
|
||
# End of file. |