Linux: 会话登录超时的一些改动
创始人
2024-03-23 08:17:05
0

in RHEL 8.6+ and 9
https://access.redhat.com/errata/RHBA-2022:8327
https://access.redhat.com/discussions/6960435
https://bugzilla.redhat.com/show_bug.cgi?id=2100464

In the past, a de facto solution was to use sshd’s ClientAliveInterval and ClientAliveCountMax options. However, those options were never intended for this purpose, and on RHEL 9 with openssh rebase their behaviour has changed to the extend that it cannot be reliably used for sessions timeouts.
过去,事实的标准方案是使用sshd的配置选项:ClientAliveInterval 和ClientAliveCountMax;但是这两个选项在RHEL9上,被修改了,不再作为这个功能使用了。
现在使用的方法是systemd提供的,systemd-logind;SessionIdleTerminateSec=10min to /etc/systemd/logind.conf

https://www.niap-ccevs.org/MMO/PP/-442-/#FMT_SMF_EXT.1.1

Enable/disable [selection: screen lock, session timeout];
Configure lockout policy for unsuccessful authentication attempts through [selection: timeouts between attempts, limiting number of attempts during a time period]

systemd涉及的改动
https://github.com/systemd/systemd/pull/24242
https://github.com/redhat-plumbers/systemd-rhel9/pull/111

相关内容

热门资讯

【PdgCntEditor】解... 一、问题背景 大部分的图书对应的PDF,目录中的页码并非PDF中直接索引的页码...
在Word、WPS中插入AxM... 引言 我最近需要写一些文章,在排版时发现AxMath插入的公式竟然会导致行间距异常&#...
监控摄像头接入GB28181平... 流程简介将监控摄像头的视频在网站和APP中直播,要解决的几个问题是:1&...
修复 爱普生 EPSON L4... L4151 L4153 L4156 L4158 L4163 L4165 L4166 L4168 L4...
protocol buffer... 目录 目录 什么是protocol buffer 1.protobuf 1.1安装  1.2使用...
Windows10添加群晖磁盘... 在使用群晖NAS时,我们需要通过本地映射的方式把NAS映射成本地的一块磁盘使用。 通过...
【前端】‘??‘与‘||‘有什... 0 问题 经常写const data = res.data.a ?? ''或者const d...
ChatGPT 怎么用最新详细... ChatGPT 以其强大的信息整合和对话能力惊艳了全球,在自然语言处理上面表现出了惊人...
Fluent中创建监测点 1 概述某些仿真问题,需要创建监测点,用于获取空间定点的数据࿰...
educoder数据结构与算法...                                                   ...