Chinaunix

标题: AIX用户被锁后如何解锁? [打印本页]

作者: wzknet    时间: 2006-07-11 10:59
标题: AIX用户被锁后如何解锁?
使用哪个命令?谢谢!
作者: fzm    时间: 2006-07-11 14:47
chuser account_locked=false username
作者: fzm    时间: 2006-07-11 14:52
将 lsuser username 的结果贴上来,才能看你用户被锁的具体原因。
作者: cactus_99    时间: 2008-06-06 19:52
标题: 四楼的师傅用的命令不合适,没定位到具体点上
经过测试\r\nchuser account_locked=false oracle\r\n是用来修改\r\nlsuser oracle的“红色部分”属性\r\n[urp8db1][/]#lsuser oracle\r\noracle id=123 pgrp=dba groups=dba home=/opt/oracle shell=/usr/bin/ksh login=true su=true rlogin=true daemon=true admin=false sugroups=ALL admgroups= tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=22 registry=files SYSTEM=compat logintimes= loginretries=0 pwdwarntime=0 account_locked=false minage=0 maxage=0 maxexpired=-1 minalpha=0 minother=0 mindiff=0 maxrepeats=8 minlen=0 histexpire=0 histsize=0 pwdchecks= dictionlist= fsize=-1 cpu=-1 data=-1 stack=-1 core=-1 rss=-1 nofiles=-1 time_last_login=1212800407 time_last_unsuccessful_login=1212741728 tty_last_login=/dev/pts/5 tty_last_unsuccessful_login=/dev/pts/3 host_last_login=10.126.10.183 host_last_unsuccessful_login=10.126.10.137 unsuccessful_login_count=0 roles=\r\n鉴于此,将修改的选项改为这样:\r\nchuser unsuccessful_login_count=0 oracle\r\n这样执行,楼主的问题就解决了,当然我的问题也就解决了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2