怎样修改solaris 系统时间
1个回答
2017-12-09
展开全部
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.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
AiPPT
2024-09-19 广告
2024-09-19 广告
随着AI技术的飞速发展,如今市面上涌现了许多实用易操作的AI生成工具1、简介:AiPPT: 这款AI工具智能理解用户输入的主题,提供“AI智能生成”和“导入本地大纲”的选项,生成的PPT内容丰富多样,可自由编辑和添加元素,图表类型包括柱状图...
点击进入详情页
本回答由AiPPT提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询