当前位置:首页>开发>正文

oracle提示密码过期用哪个用户可以使用 solaris 如何查看密码过期时间

2023-04-29 10:39:29 互联网 未知 开发

 oracle提示密码过期用哪个用户可以使用 solaris 如何查看密码过期时间

oracle提示密码过期用哪个用户可以使用

你是密码过期了,需要改密码 还是说要设置修改密码过期的时间啊 密码过期的时候一般使用旧密码登录,Oracle会提示密码过期,叫你输入新密码,你直接输入两次新密码就可以了。 或者使用管理员账户登录 / as sysdba 然后使用修改密码命令: alter ...

solaris 如何查看密码过期时间

cat /etc/default/passwd文件:
MAXWEEKS=13 密码的最大生存周期为13周;(Solaris 8&10)
PWMAX= 90 #密码的最大生存周期;(Solaris 其它版本)

设置密码永不过期,以账号aaa为例:
#passwd -x -1 aaa

man passwd

-n min Sets minimum field for name. The min
field contains the minimum number of
days between password changes for name.
If min is greater than max, the user can
not change the password. Always use this
option with the -x option, unless max is
set to -1 (aging turned off). In that
case, min need not be set.

-u Unlocks a locked password for entry
name. See the -d option for removing the
locked password, or to set a password to
allow logins.

-w warn Sets warn field for name. The warn field
contains the number of days before the
password expires and the user is warned.
This option is not valid if password
aging is disabled.

-x max Sets maximum field for name. The max
field contains the number of days that
the password is valid for name. The
aging for name is turned off immediately
if max is set to -1.

最新文章