LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1009|回复: 6

如何使Turbolinux 10在用户输错密码时延时10秒再显示登录login(字符界面)

[复制链接]
发表于 2003-12-9 13:53:14 | 显示全部楼层 |阅读模式
RH8.0,RH9.0在用户输错登录名誓不显示,而是接着让你输入密码,错误后要延迟数秒才允许你再次输入用户名和密码,但Turbolinux不是这样,能不能更改
发表于 2003-12-9 18:25:13 | 显示全部楼层
我的是debian
你可以看看
/etc/login.defs

#
# Delay in seconds before being allowed another attempt after a login failure
#
FAIL_DELAY              3
 楼主| 发表于 2003-12-10 09:04:16 | 显示全部楼层

我该了,无效

要不要我把我的/etc/login.defs贴出来
发表于 2003-12-10 09:39:24 | 显示全部楼层
# *REQUIRED*
#   Directory where mailboxes reside, _or_ name of file, relative to the
#   home directory.  If you _do_ define both, MAIL_DIR takes precedence.
#   QMAIL_DIR is for Qmail
#
#QMAIL_DIR        Maildir
MAIL_DIR        /var/spool/mail
#MAIL_FILE        .mail

# Password aging controls:
#
#        PASS_MAX_DAYS        Maximum number of days a password may be used.
#        PASS_MIN_DAYS        Minimum number of days allowed between password changes.
#        PASS_MIN_LEN        Minimum acceptable password length.
#        PASS_WARN_AGE        Number of days warning given before a password expires.
#
PASS_MAX_DAYS        99999
PASS_MIN_DAYS        0
PASS_MIN_LEN        5
PASS_WARN_AGE        7

#
# Min/max values for automatic uid selection in useradd
#
UID_MIN                          500
UID_MAX                        60000

#
# Min/max values for automatic gid selection in groupadd
#
GID_MIN                          500
GID_MAX                        60000

#
# If defined, this command is run when removing a user.
# It should remove any at/cron/print jobs etc. owned by
# the user to be removed (passed as the first argument).
#
#USERDEL_CMD        /usr/sbin/userdel_local

#
# If useradd should create home directories for users by default
# On RH systems, we do. This option is ORed with the -m flag on
# useradd command line.
#
CREATE_HOME        yes

我的不会,
发表于 2003-12-10 10:54:10 | 显示全部楼层
我的是debian,其他的系统你自己grep一下就知道了啊
grep -r "FAIL_DELAY" /etc/
呵呵,不过会改变ATIME的,最好还是用VM查找,以免AIDE失效~~
 楼主| 发表于 2003-12-10 11:46:58 | 显示全部楼层
最初由 包子 发表
我的是debian,其他的系统你自己grep一下就知道了啊
grep -r "FAIL_DELAY" /etc/
呵呵,不过会改变ATIME的,最好还是用VM查找,以免AIDE失效~~

下面这话什么意思?我没学过UNIX
不过会改变ATIME的,最好还是用VM查找,以免AIDE失效
VM就是VIM吧?什么是ATIME和AIDE
发表于 2003-12-10 18:37:34 | 显示全部楼层
晕……你要没学过我估计我也解释不清楚了……

建议你先去基础版逛逛……
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表