Bug 247620 - cap_mkdb detects but does not stop reference loop errors in login.conf
Summary: cap_mkdb detects but does not stop reference loop errors in login.conf
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 16:48 UTC by Mike Quin
Modified: 2020-06-28 16:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Quin 2020-06-28 16:48:21 UTC
If a loop is created in /etc/login.conf, for example by including :tc=default: in the default class, cap_mkdb will issue a warning:

"cap_mkdb: potential reference loop detected"

but still write a non-usable database.

Once this has happened authentication attempts fail with "PAM account management error: Error in service module"