8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Experts,
Need some direction on creating shell script for following environment:
We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Discussion started by: sha2402
3 Replies
2. Shell Programming and Scripting
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies
3. Shell Programming and Scripting
How tocreate a script file which will automatically create accounts from a csv file (2 Replies)
Discussion started by: donegal92
2 Replies
4. UNIX for Dummies Questions & Answers
What is the command to list all UNIX system login accounts?
What is the command to list all system password parameters for UNIX(minimum length, complexity,age, invalid lockout attempts, expiration date , user inactivity lockout) (1 Reply)
Discussion started by: ma466
1 Replies
5. UNIX for Dummies Questions & Answers
Hi, Can someone tell me what the default unix accounts are? And what is the default unix admin pwd? Thanks!! (1 Reply)
Discussion started by: kandy19
1 Replies
6. UNIX for Advanced & Expert Users
Hi Guys,
First of all apologies if this is in the wrong topic.
I have been given a task of coming up with an approach to identify unix accounts that are no longer in use by the user and applications, and need some ideas to of how to go about this.
These accounts application accounts that... (2 Replies)
Discussion started by: Frankie123
2 Replies
7. Shell Programming and Scripting
I have a file that contains a list of names.
I need a loop that creates user accounts to all the names in the list
where username = names in file
password = username
Another question: how can i validate that a particular var is of 6 characters length
I need an if statement that will... (8 Replies)
Discussion started by: Laila Saif
8 Replies
8. Shell Programming and Scripting
Hi there,
Is there a way to delete some messages from the mail account on a Unix machine via a script?.
Regards (0 Replies)
Discussion started by: JimJim
0 Replies
KTUTIL(1) General Commands Manual KTUTIL(1)
NAME
ktutil - Kerberos keytab file maintenance utility
SYNOPSIS
ktutil
DESCRIPTION
The ktutil command invokes a subshell from which an administrator can read, write, or edit entries in a Kerberos V5 keytab or V4 srvtab
file.
COMMANDS
list Displays the current keylist. Alias: l.
read_kt keytab
Read the Kerberos V5 keytab file keytab into the current keylist. Alias: rkt
read_st srvtab
Read the Kerberos V4 srvtab file srvtab into the current keylist. Alias: rst.
write_kt keytab
Write the current keylist into the Kerberos V5 keytab file keytab. Alias: wkt.
write_st srvtab
Write the current keylist into the Kerberos V4 srvtab file srvtab. Alias: wst.
clear_list
Clear the current keylist. Alias: clear.
delete_entry slot
Delete the entry in slot number slot from the current keylist. Alias: delent.
add_entry (-key | -password) -p principal -k kvno -e enctype
Add principal to keylist using key or password. Alias: addent.
list_requests
Displays a listing of available commands. Aliases: lr, ?.
quit Quits ktutil. Aliases: exit, q.
REMARKS
Changes to the keytab are appended to the keytab file (i.e., the keytab file is never overwritten). To directly modify a keytab, save the
changes to a temporary file and then overwrite the keytab file of interest.
Example:
ktutil> rkt /etc/krb5.keytab
(modifications to keytab)
ktutil> wkt /tmp/krb5.newtab
ktutil> q
# mv /tmp/krb5.newtab /etc/krb5.keytab
SEE ALSO
kadmin(8), kdb5_util(8)
KTUTIL(1)