Skip to content

Instantly share code, notes, and snippets.

@ciastek
ciastek / README
Last active July 28, 2022 13:33
[SOLVED] Why sudo asks for user password in tmux/ssh session?
In console:
root# passwd -d user
In console:
login: user
user$ sudo whoami
root
user$ tmux
@ciastek
ciastek / README
Created April 28, 2024 21:01
Encryption Key Vault on USB drive for Synology's Full Volume Encryption
Synology DSM 7.2 introduced Full-Volume Encryption.
Encryption Key Vault can by stored locally or on a remote Synology NAS (KMIP server).
Local Encryption Key Vault is protected with a password, but it doesn't protect against
loss of an entire NAS device (by design, see [1]), because encrypted volumes are
automatically unlocked on boot. See [2] for a way to access an encrypted volume.
I don't know why Synology doesn't offer to store the Encryption Key Vault on USB drive
as it does with Key Manager/Key Store used by encrypted shared folders.
Anyway, DSM 7.2 does support Encryption Key Vault on USB drive, it's just not exposed
to the user. Maybe it's not yet ready for prime time?