KSTASH(8) BSD System Manager's Manual KSTASH(8)NAME
kstash -- store the KDC master password in a file
SYNOPSIS
kstash [-e string | --enctype=string] [-k file | --key-file=file] [--convert-file] [--random-key] [--master-key-fd=fd] [--random-key]
[-h | --help] [--version]
DESCRIPTION
kstash reads the Kerberos master key and stores it in a file that will be used by the KDC.
Supported options:
-e string, --enctype=string
the encryption type to use, defaults to DES3-CBC-SHA1.
-k file, --key-file=file
the name of the master key file.
--convert-file
don't ask for a new master key, just read an old master key file, and write it back in the new keyfile format.
--random-key
generate a random master key.
--master-key-fd=fd
filedescriptor to read passphrase from, if not specified the passphrase will be read from the terminal.
FILES
/var/heimdal/m-key is the default keyfile if no other keyfile is specified. The format of a Heimdal master key is the same as a keytab, so
ktutil list can be used to list the content of the file.
SEE ALSO kdc(8)HEIMDAL April 10, 2007 HEIMDAL
Check Out this Related Man Page
kdb_edit(8krb)kdb_edit(8krb)Name
kdb_edit - Kerberos database editing utility
Syntax
/var/dss/kerberos/bin/kdb_edit [-n]
Description
You use the command to create or change principals stored in the Kerberos database. When you invoke kdb_edit, the command prompts you for
the Kerberos database master key and verifies that the key is the same as the master key of the Kerberos database. If the -n option is
used, the key is fetched from the master key file.
Once the master key is verified, kdb_edit begins a loop that prompts you for the principal and instance name to modify. If kdb_edit does
not find an entry, you can create one. Once kdb_edit finds or creates an entry, you can set the password, expiration date, maximum ticket
lifetime, and attributes of a principal.
The kdb_edit command displays, in brackets, the default values for the expiration dates, maximum ticket lifetimes, and attributes. You can
select any default by pressing the return key. The kdb_edit command indicates that you have successfully created or changed an entry by
displaying the message, "Edit O.K."
There is no default password for a principal. However, if you enter RANDOM as the password for a principal, kdb_edit selects a random Data
Encryption Standard (DES) key for the principal.
Whenever the Kerberos database is changed by the modification time of is updated. The file indicates the age of the database.
Options-n If you specify the command with the -n option, kdb_edit fetches the key from the master key file.
Files
See Also
kdb_init(8krb), kstash(8krb), kdb_util(8krb), kdb_destroy(8krb)kdb_edit(8krb)
Hello.
I have a question. I need to activate the F1 key for an application, because when i enter by doing "telnet ..." my F1 key doesn't do anything.
Any idea? (2 Replies)
Hi guys,
I have a system with the last version of AIX 5.3ML2 on which I installed nim master (nim_master_setup).
After the installation (NIM master setup is complete - enjoy! I like this message :D ) , I check the level of my systems it looks bad some filesets are missing for ML1 and ML2 (and... (1 Reply)
Dear Masters,
Is there an easy way to generate a random list from a give list of names? Let's say, I have a file containing 15000 city name of world(spreadsheet, names in the first column), I would like to randomly pick up 50 cities each time for total 1000 picks. Or doesn't anyone know a... (3 Replies)
Hi,
consider this file "master" which contains data as
11:skjs:24:asd2
1:skdfjk:23:sfdf
12:su:25:jkh5
13:gre:22:kljl7
14:sai:34:kjg7
I am trying to enter data into the file "master"
i want to count the number of times 11 is present in the file "master" that to in the first filed... (5 Replies)
I found that my unix box can't use ctrl-C to break the process ( stopping a running process from the terminal--e.g. a long document being read with "more".) , the TERM setting is vt220 now , can advise how to fix it ? thx (4 Replies)
I have a list of ids and a master list. I need to display entries from the master list matching ids in the first list. The master list is space delimited, id is 1st field.
$ cat id_list
2010
7
51
$ cat master_list
1 one detail1 detail2
2 two detail1 avg1 detail2 avg2
... etc ...
... (3 Replies)
Hi everybody..
I need help with nim ..
I am install nim master in may ambient.
# lsnim -l master
master:
class = machines
type = master
max_nimesis_threads = 20
comments = machine which controls the NIM environment
global_export ... (2 Replies)
We have an interactive program from a 3rd party. We don't have the code. When I execute some of its commands through telnet, it complains, "Command must be executed from master console". Can executing this program from a shell through telnet get around this problem? Can cron get around this? Thanks. (1 Reply)
I had written a perl script to compare two files: new and master and get the output of the first file i.e. the first file: words that are not in the master file
STRUCTURE OF THE TWO FILES
The first file is a series of names
ramesh
sushil
jonga
sudesh
lugdi
whereas the second file (could be... (4 Replies)
Hi Guys,
I'm a complete shell scripting newbie and need some help with comparing a file against a master file and outputting the results.
master.txt would look something like this:
000123
000345
000341
000927
000762
000235
000155
000452
000846
000623
file.txt would look like... (1 Reply)
Hi all,
I have created VIO Server which serves 3 lpars. All of them are on VLAN ID 50.
From one lpar I installed and set up NIM master server called testAIX1.
I have created client and allocated resources to it:
testAIX1:/ > lsnim -l test_lpar
test_lpar:
class = machines
... (4 Replies)
hi all,
suppose a key string: M0271857
and to find all lines containing this key string in a text file
which returns multiple lines
but i only want the shortest one
is there a way to do that?
thanks so much! (4 Replies)
I've a master file which will contain 100 file names, The script should read file name from a master file and format the file as below in AIX.
input file
Filename
This
is
a
test
file
Output File
Filename|This is a test file
Thanks in advance
for file in $FileList; do (5 Replies)
Hello all,
I am setting up a cluster of Mac Pro's which need to be able to talk to a master computer, traffic between the nodes and the master needs to take place without a ssh key. I need a script that will create a security key, save it to the default place, enter the password as no password.... (2 Replies)