Оказывается ответ на самом деле Method1 в этот ответ . Это относится как к Ubuntu, так и к CentOS. Цитирование:
Systemd... will unlock all additional LUKS partitions if
- all of the partitions you want to unlock use the same password
- you enter the password for the root partition correctly the first time. If you get it wrong, you'll need to enter it again for every other LUKS partition
The path export PATH=$PATH:$HOME/.local/bin is saved in ~/.bash_profile
Измените его наPATH=$HOME/.local/bin:$PATH
ИЛИ
Добавить, например,.$HOME/.bashrc
:
alias nano=$HOME/.local/bin/nano