How to reset the Verity K2 password.
来源:互联网 发布:拨号钢琴软件 编辑:程序博客网 时间:2024/05/20 07:15
This month's question comes from a customer who is using Verity K2 in an enterprise search application.
Question: We removed the Windows domain user name that had been managing the Verity K2 console and now we cannot access the console. How can I reset the password without reinstalling K2?
Dr. Search answers: Actually, Dr. Search has had the same thing happen to him at a customer site, and luckily it's not too difficult. We won't even mention the logic of creating multiple user names in the K2 console.
First, you need to stop K2. If you're on Windows, that means stopping all of the K2 services. On Unix, you'll need to scan the output of the ps command to find all of the K2 processes.
Once K2 has stopped, you need to remove the cstore.psm file from the ticket server directory. For example, if your ticket server is named test_ticket1 you would find the cstore.psm file in:
verity/data/services/test_ticket1/cstore.psm
Note some people might advise you copy or rename the file just in case you decide you need it back.
Re-start K2, and log in using the command line tool rctk to connect to the ticket server, by default on port 9910: Once it has started, use the ainit command; log in using a null user name and password; and issue the g command to enter a new administrative user name and password. The human input is in bold.
D:/rctk -server myserver.domain.com -port 9910
rctk>ainit
User: newuser
Password: newpass
Domain (optional): [Enter]
Login as Admin (y/n): y
rctk> quit
Note that the username and password need to exist and be valid in the domain or in the LDAP server you are using.
You should find a new cstore.psm file in the ticket server directory; and you should now be able to log into the K2 console using the new username and password. Just to be sure, you might want to start rctk once again and use the g command to get the list of administrative data:
D:/rctk -server myserver.domain.com -port 9910
rctk> login
User: newuser
Password: newpass
Domain (optional):[Enter]
Login as Admin (y/n): y
rctk> g
Admin Id : Administrator
Admin Data : Administrator
Admin AccessLevel : 1
rckt> quit
That's about it! You have a new user name and password, and you're ready to go!
Dr. Search will be back next month. Let him answer your questions for you.
- How to reset the Verity K2 password.
- How to Reset the Root Password
- How to Reset the Root Password 5.5
- How to reset "hscroot" password?
- How to reset the ILOM root password back to the default 'changeme' using ipmitool
- how to reset sys password in oracle
- How to reset password in ubuntu
- How to reset your password in Ubuntu
- How to reset a root password
- maxdb how to reset <SID>adm password
- How to reset the root passwd if we forget the root password in red hat
- How to reset the Domain Admin Password under Windows Server 2003
- How to use gnu readline to implement "reset password".
- [转!]How to reset your password in Ubuntu
- How To Reset A Forgotten Raspberry Pi Password
- How to Reset MySQL root Password on CentOS
- HOW TO RESET THE IMPORT QUEUE
- How to remove the VBA Project Password
- linux文件系统基础知识
- 单向链表反转
- SQL小应用
- 一个最简单的SQL SERVER 触发器
- 数据库的索引
- How to reset the Verity K2 password.
- 自动化测试工具QTP的一些简单代码
- spring2.5注解介绍之一
- 颜色基础知识
- spring2.5注解介绍之二
- ext实现遮罩效果
- 三十分钟掌握STL
- 报表软件选购指南
- 长字符串数字相乘