Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../data-lst1/../../sbin/./kclient-kt2prof
Real path: /usr/sbin/kclient-kt2prof
Zurück
#! /usr/bin/ksh # # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. # # # kclient-kt2prof - bundle a binary keytab into a System Configuration XML # # Public wrapper for private tool /usr/lib/krb5/kt2prof. # TEXTDOMAIN=solaris_cmd_krb5 export TEXTDOMAIN KT2PROF=/usr/lib/krb5/kt2prof me=${0##*/} function usage { print -u2 -- "$(gettext "Usage: %s [-k keytab] [-p profile]")" "$me" exit 1 } cmd="$KT2PROF -pkeytab/key" # # kclient-kt2prof [-k keytab] [-p profile] # while getopts ":k:p:" options do case $options in k) cmd="$cmd -k$OPTARG" ;; p) cmd="$cmd -x$OPTARG" ;; *) usage ;; esac done exec $cmd