mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00:00
cryptsetup: downgrade world-writable warning again
This semi-reverts 8973790ee6.
This commit is contained in:
@@ -377,8 +377,12 @@ int main(int argc, char *argv[]) {
|
||||
goto next;
|
||||
}
|
||||
|
||||
/* If we readd support for specifying passphrases
|
||||
* directly in crypttabe we should upgrade the warning
|
||||
* below, though possibly only if a passphrase is
|
||||
* specified directly. */
|
||||
if (st.st_mode & 0005)
|
||||
log_warning("/etc/crypttab is world-readable. This is usually not a good idea.");
|
||||
log_debug("/etc/crypttab is world-readable. This is usually not a good idea.");
|
||||
|
||||
for (;;) {
|
||||
char line[LINE_MAX], *l;
|
||||
|
||||
Reference in New Issue
Block a user