mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
cryptsetup: downgrade world-writable warning again
This semi-reverts 8973790ee6
.
This commit is contained in:
parent
19aa7c4fef
commit
2b68185ac9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user