Bug 78129
Summary: | Initscripts doesn't clean /etc/nologin | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | jfm2 |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | mitr, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-11-19 10:22:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
jfm2
2002-11-19 10:22:45 UTC
*** This bug has been marked as a duplicate of 74814 *** Perhaps it is correct behaviour to not clean a /etc/nologin created by a system administrator who wants to reboot and not have users connect immediately after. But there should be a way to distinguish those /etc/nologin set by "shutdown" so they can be cleaned by initscripts. For instance shutdown could test if there is a /etc/nologin and if it doesn't exist create one <b>and</b> /etc/nologin.automatic so if initscripts see both then it knows it is a /etc/nologin set by shutdown and can clean it. An improvement could be to store the MD5 of /etc/nologin in /etc/nologin.automatic so initscripts can check it is the real one set by shutdown. Finally there should be an informative message when access is denied due to a nologin condition: presently the user is denied acces without any explanation so he believes he mistyped his password and when after sevraltruies he is still denied access he will believe the password file has been corrupted or tampered. |