HP-UNIX操作系统root账号被锁定的两种解决方法
方法一:到单用户取消trusted system, 重新激活账户
a、重起机器,自检完成后,会出现这一行“To discontinue, press any key in 10 seconds ”,这时你按任意键,系统会中止启动,进入 Main Menu.
b、键入“ bo ”, 在系统询问“ Interact with IPL (Y or N?)?”,输入 “y”。
c、在提示符ISL> 后, 输入“ hpux - is ”, 系统进入单用户状态。
d、sam,给root解锁
如果还忘记了密码,取消trusted system
/usr/lbin/tsconvert -r
e、键入“ passwd ”, 然后输入新的密码。
f、键入“ reboot ”, 恢复系统正常运行。
方法二:(无需重启服务器)
可以在console用root登录的,无论如何,console上root不会被disable。
以下为登录console,解决用户锁死的操作命令:
telnet 192.168.2.106
OA-9C8E99295CED> connect bay 4
Connecting to bay 4 ...
Hewlett-Packard Integrated Lights-Out 3 for Integrity
(C) Copyright 1999-2011 Hewlett-Packard Development Company, L.P.
MP Host Name: mp-smsdb02
iLO MP Firmware Revision 01.41.01
MP ACCESS IS NOT SECURE
A default MP user Admin/Admin is currently configured
with the default password and remote access is enabled. Modify the
default password or delete the default user (see UC command)
OR
Disable all types of remote access (see SA command)
Your Certificate has expired.
Use the SO command to generate a new certificate.
MP MAIN MENU:
CO: Console
VFP: Virtual Front Panel
CM: Command Menu
CL: Console Log
SL: Show Event Logs
HE: Main Help Menu
X: Exit Connection
[mp-smsdb02]</> hpiLO->
[mp-smsdb02]</> hpiLO-> CO
[Use Ctrl-B or ESC-( to return to MP main menu.]
- Prior Console Output - - - - - - - - - -
Start LVM daemon ............................................. OK
Start CDE login server ....................................... OK
Starting the amgrd subsystem ................................. N/A
Starting PRNGD (Pseudo Random Number Generator Daemon) ....... N/A
Starting Control Daemon ...................................... OK
- Prior Console Output - - - - - - - - - -
The system is ready.
GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login:
- Live Console - - - - - - - - - - - -
[Read only - use Ctrl-Ecf for console write access.]
[Read only - use Ctrl-Ecf for console write access.]
[bumped user - Admin]
GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login: root
Password: //此处无需输入密码,直接回车即可
Account is disabled but console login is allowed.
Last successful login for root: Thu Feb 4 20:00:54 EAT-8 2021 on pts/ta
Last unsuccessful login for root: Sun Feb 7 09:34:56 EAT-8 2021
Please wait...checking for disk quotas
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
Confidential computer software. Valid license from HP required for
possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
You have mail.
Value of TERM has been set to "vt100".
WARNING: YOU ARE SUPERUSER !!
smsdb02[/]#/usr/lbin/tsconvert -r
Restoring /etc/passwd...
/etc/passwd restored.
Deleting at and crontab audit ID files...
At and crontab audit ID files deleted.
至此为止,取消trusted system模式后,用户解锁操作成功。再去使用任意合法用户登录操作系统时,均可以正常登录了。
原文链接:http://blog.sina.com.cn/s/blog_4ab088470102w8gj.html
HP-UNIX操作系统root账号被锁定的两种解决方法的更多相关文章
- SVN被锁定的几种解决方法
用SVN经常出现被锁定而无法提交的问题,选择解锁又提示没有文件被锁定,很是头疼.这里整理了一下SVN被锁定的几种解决方法: 1.出现这个问题后使用“清理”即"Clean up"功能 ...
- Linux遗忘root密码的其中两种解决方法
由于安全的需要,系统一般只有一个root用户,因此若遗忘root用户的登录密码,因此需要通过其他途径进行修改密码.1.通过单用户模式(1)重启系统,按任意键进入grub菜单.出现grub菜单时,按↑, ...
- MySQL root密码忘记后更优雅的解决方法
MySQL root密码忘记后更优雅的解决方法 https://www.jb51.net/article/143453.htm /usr/bin/mysqld_safe --defaults-file ...
- hp警告Creating default object from empty value 问题的解决方法
hp警告Creating default object from empty value 问题的解决方法 解决方法是找到报错的位置然后看哪个变量是没有初始化而直接使用的,将这个变量先实例化一个空类.如 ...
- Mysql的Root密码忘记,查看或修改的解决方法
Mysql的Root密码忘记,查看或修改的解决方法:1.首先启动命令行2.在命令行运行:taskkill /f /im mysqld-nt.exe3.继续在命令行运行:mysqld-nt --skip ...
- MySQL 忘记root密码的两种处理方法
[背景] 由于各个原因,我遇到过不只一次我服务的客户忘记了MySQL的root密码:如果是普通用户还好,我们可以用root用户去改它的密码,要命 的是把root给丢了! 对于MySQL来说如果你忘记了 ...
- Mysql的Root密码忘记,查看或修改的解决方法(图文介绍)
http://www.jb51.net/article/38473.htm 首先启动命令行 1.在命令行运行:taskkill /f /im mysqld-nt.exe 下面的操作是操作mysql中b ...
- jetty java文件无法删除 java文件占用 delete无效 运行时锁定静态资源的解决方法
前几天jetty下发现java无法删除文件,文件操作后一直被jvm占用,无奈换了tomcat问题消失. 今天又想起来,尝试网上的解决方法,经本人试验,直接修改配置文件有时不能生效,具体原因不清楚,建议 ...
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
权限问题,授权 给 root 全部sql 权限 mysql> grant all privileges on *.* to root@"%" identified by & ...
随机推荐
- 联合权值dp
联合权值 洛谷中可找到 题目传送门https://www.luogu.org/problemnew/show/P1351 这题我就得了70分(TLE) GG了 就是遍历它孩子的孩子(爷爷和孙子),然 ...
- Spring Boot详细学习地址转载
阿里中间件牛人,学习榜样,源码分析: https://fangjian0423.github.io/ 基础.详细.全面的教程: https://gitee.com/roncoocom/spring-b ...
- 项目中同一个dll的x86和x64同时引用
<ItemGroup Condition=" '$(Platform)' == 'x86' "> <Reference Include="System. ...
- hdu 2586 How far away ? 倍增求LCA
倍增求LCA LCA函数返回(u,v)两点的最近公共祖先 #include <bits/stdc++.h> using namespace std; *; struct node { in ...
- [BZOJ1044][HAOI2008]木棍分割 二分 + 单调队列优化dp + 滚动数组优化dp
Description 有n根木棍, 第i根木棍的长度为Li,n根木棍依次连结了一起, 总共有n-1个连接处. 现在允许你最多砍断m个连接处, 砍完后n根木棍被分成了很多段,要求满足总长度最大的一段长 ...
- 论文笔记——Rethinking the Inception Architecture for Computer Vision
1. 论文思想 factorized convolutions and aggressive regularization. 本文给出了一些网络设计的技巧. 2. 结果 用5G的计算量和25M的参数. ...
- spark监控入门
前言 Spark作为计算引擎每天承载了大量的计算任务,为了监控集群的资源使用情况,对spark的监控也在所难免,Spark的监控有3个入口,1. Rest; 2.另一个是Metrics; 3. Log ...
- js delete可以删除对象属性及变量
,对象属性删除 function fun(){ this.name = 'mm'; } var obj = new fun(); console.log(obj.name);//mm delete o ...
- go 语言字典遍历
package main import "fmt" func main() { var countryCapitalMap map[string]string /*创建集合 */ ...
- c++ 查找容器中不满足条件的元素,返回iterator(find_if_not)
#include <iostream> // std::cout #include <algorithm> // std::find_if_not #include <a ...