How to make a symlink to the /etc/NetworkManager/system-connections directory/

Vponed

New Member
Joined
Nov 23, 2019
Messages
4
Reaction score
1
Credits
53
I'm trying to transfer connection information to an encrypted container. But it wasn't there. When transferring this directory to an encrypted container and creating a symlink, connection information is not read. Restarting the services did not give anything. Linux saves them somewhere else. I didn't find it in /tmp, maybe in memory?
 


I'm sorry to bother. This is not a network problem, but a problem of encryption and access to encrypted data at the system level. Solved the problem like this:
sudo dd if=/dev/random of=/home/web-sifer bs=1M count=500
sudo cryptsetup luksFormat /home/web-sifer c aes-xts-plain -s 256
sudo cryptsetup luksOpen /home/web-sifer web-sifer
sudo mkfs.ext4 -j /dev/dm-0 //view the correct device name
sudo mkdir /mnt/web-sifer
sudo mount /dev/dm-0 /mnt/web-sifer
sudo -i
echo "web-cifer /home/web-sifer none luks,cipher=aes-cbc-essiv:sha256" >> /etc/crypttab
echo "/dev/dm-0 /mnt/web-cifer ext4 defaults 0 0" >> /etc/fstab
I transferred the necessary settings from /etc to the encrypted partition and made a symlink.
The above gives access to partial encryption of the system. Please move it to the appropriate section.
 

Members online


Top