| Summary: | Warn via Logwatch when sshd PermitRootLogin is in effect | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Don Russell <russell.don> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | 4.3p2 | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
|
Description
Don Russell
2006-08-10 02:48:08 AEST
I don't see any point to this. If you want something like this just add a cron job: egrep -i '^permitrootlogin.*no' /etc/ssh/sshd_config || logger root login allowed via ssh (In reply to comment #1) > I don't see any point to this. The point is that after an initial install, root login is permitted via a remote connection. (granted, authentication is still required, I'm not suggesting that un-authenticated access is allowed.) If people knew enough to add the suggested cron job, then they also know enough to ensure the PermitRootLogin option is correct for their own environment and therefore do not need the cron jb. If sshd scheduled such a cron job when starting and seeing both "PermitRootLogin yes" and "PermitRootLoginwarn yes" options set, there would be no "surprises". Thanks for your consideration. Even in your proposal you had the default as "yes" (ie no warning), so the admin would still have to explicitly enable it. If you want to enable something, enable a cron job. So, no, I don't think we'll be implementing this. Yes, my example showed the PermitRootLogin yes (default) That should have read (current default) and then the warn setting became the new defalt option, if you opted to add a new value to the PermitRootLogin option. Anyway... WONTFIX.... Thant's fine, all I can do is make the suggestion. It doesn't affect me (anymore),I just thought it would be little effort, and help new users. Thanks for the speedy replies. Regards. Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |