hp-unix操作系统root账号被锁定的两种解决方法:

由于将HP-UNIX(HP-UX smsdb02 B.11.31 U ia64)小型机修改为:trusted system模式后,导致用户登录操作系统时,报错如下:
 login: sms
 Password:
 Account is disabled - see Account Administrator
 
Wait for login exit: ..
 经上网查询是用户锁死,但现在是root用户也锁死了!!提示如下:
 login: root
 Password:
 Account is disabled - see Account Administrator
 
Wait for login exit: ..

解决方法如下:

方法一:到单用户取消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

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 license

d 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模式后,用户解锁操作成功。再去使用任意合法用户登录操作系统时,均可以正常登录了。

本文转自vcdog 51CTO博客,原文链接:http://blog.51cto.com/255361/838950,如需转载请自行联系原作者

hp-unix操作系统root账号被锁定的两种解决方法:相关推荐

  1. linux 操作系统root账号被锁定的两种解决方法

    linux 操作系统root账号被锁定的两种解决方法 参考文章: (1)linux 操作系统root账号被锁定的两种解决方法 (2)https://www.cnblogs.com/redhatlinu ...

  2. HP-UNIX操作系统root账号被锁定的两种解决方法

    方法一:到单用户取消trusted system, 重新激活账户 a.重起机器,自检完成后,会出现这一行"To discontinue, press any key in 10 second ...

  3. 计算机登陆用户显示黑屏,win7系统电脑开机输入登录账号密码后出现黑屏的原因分析及两种解决方法...

    一位用户说win7开机输入登录账号密码后出现黑屏,这是怎么回事呢?这种情况怎么解决呢?下面脚本之家的小编就带来win7系统电脑开机输入登录账号密码后出现黑屏的原因分析及解决方法,一起来看看吧. 故障原 ...

  4. SVN被锁定的几种解决方法

    SVN被锁定的几种解决方法 参考文章: (1)SVN被锁定的几种解决方法 (2)https://www.cnblogs.com/smiler/p/4567116.html 备忘一下.

  5. SVN Cannot verify lock on path问题解决 SVN被锁定的几种解决方法

    用SVN经常出现被锁定而无法提交的问题,选择解锁又提示没有文件被锁定,很是头疼. 这里整理了一下SVN 被锁定的几种解决方法: 1.出现这个问题后使用"清理"即"Clea ...

  6. ORA-01157 无法标识锁定数据文件的解决方法

    ORA-01157 无法标识锁定数据文件的解决方法 参考文章: (1)ORA-01157 无法标识锁定数据文件的解决方法 (2)https://www.cnblogs.com/huangbiquan/ ...

  7. Django链接Mysql 8.0 出现错误(1045:Access denied for user ‘root‘@‘localhost‘ (using password: NO) 的一种解决方法

    Django链接Mysql 8.0 出现错误(1045:Access denied for user 'root'@'localhost' (using password: NO) 的一种解决方法 参 ...

  8. Mysql的Root密码忘记,查看或修改的解决方法(图文介绍)

    Mysql的Root密码忘记,查看或修改的解决方法(图文介绍) 参考文章: (1)Mysql的Root密码忘记,查看或修改的解决方法(图文介绍) (2)https://www.cnblogs.com/ ...

  9. 我的世界 服务器内切换账号密码是多少,我的世界OP查询玩家账号密码 两种解决方式...

    我的世界OP查询玩家账号密码 两种解决方式.我的世界服务器中OP想要查询玩家账号登录密码也不是不可以的,但是一般需要插件协助才能完成.目前两种方式可以实现密码查询. 我的世界服务器OP怎么查询玩家密码 ...

  10. 申请JetBrains账号遇到的相关问题及解决方法

    申请JetBrains账号遇到的相关问题及解决方法 在申请JetBrains教育账号的时候会遇到各种各样的问题,我根据我遇到的问题写出一些解决办法,具体的申请流程就不在赘述. JetBrains教育账 ...

最新文章

  1. Sencha Touch 2 DataView / List 分页
  2. 哈尔特征(Haar-like features)
  3. 轻松了解“Web应用防火墙”
  4. 如何将不同类型数据导入Elaticsearch中?
  5. html分页 css,js+css实现的简单易用兼容好的分页
  6. SQL Server 2008 R2 安装
  7. centos7 mysql.h_centos7下致命错误:mysql/mysql.h:没有那个文件或目录
  8. 车载系统华山论剑:Ali OS、Android、QNX孰优孰劣
  9. 终于有人把分布式系统架构讲明白了
  10. 楼梯计算机公式,楼梯的计算公式 楼梯的尺寸
  11. CSS基础的文字样式
  12. html 隐藏tbody,隐藏的tbody
  13. 尚德机构季报图解:净利达1.5亿 抗周期和盈利能力稳健
  14. 路由器配置 校园网账号独立登录 DHCP关闭
  15. Win10修复Linux引导
  16. Linux驱动编写入门-新解
  17. ajax读取文件数据,Ajax 实现读取 properties 格式资源文件数据
  18. 计算机国考报哪些岗位,国考职位有哪些
  19. Computer Organization and Design The Hardware/Software Interface: RISC-V Edition
  20. metasploit简单使用:复现永恒之蓝

热门文章

  1. 12306模拟登陆-超级鹰
  2. Weighted Quick Union
  3. 2019/04/15 在调试https://blog.csdn.net/hjw2719/article/details/83473199中程序时出现的问题
  4. 源码:Mybatis的LogFactory生成逻辑
  5. asp使用js时间控件,实现下拉日历 解决UTF-8和GB2312的编码问题
  6. 原生版本 电信卡HD语音通话记录没有显示为‘外拨的4G高清语音’仅显示为‘外拨的通话’
  7. Linux-Ubuntu系统配置深度学习环境搭建
  8. python 新闻摘要_每日新闻摘要:随着机器取代工人,黄金一日即将推出
  9. 关于PScs6无法拖入图片的解决
  10. 网站卡死服务器2008,winserver2008r2频繁卡死?