Translate
domingo, 14 de abril de 2019
Montar partición encriptada con crypto_LUKS en CentOS
Para encontrar las particiones encriptadas:
blkid | grep crypto
o con:
lsblk -io NAME,TYPE,SIZE,FSTYPE,UUID,MOUNTPOINT | grep crypto
Montar manualmente con:
cryptsetup luksOpen /dev/mapper/volumen_a_montar nombre_mapper_nuevo
mount /dev/mapper/nombre_mapper_nuevo directorio
Para montar permanentemente al momento de arrancar el sistema:
Suponiendo que la partición contiene la etiqueta 'home':
Generamos /etc/crypttab:
blkid | grep crypto | grep home | cut -f2 -d' ' | while read uid; do echo dd-home $uid; done >> /etc/crypttab
Agregamos linea a /etc/fstab:
echo /dev/mapper/dd-home /mnt/dd/home ext4 defaults 1 2 >> /etc/fstab
Referencias:
https://evilshit.wordpress.com/2012/10/29/how-to-mount-luks-encrypted-partitions-manually/
https://evilshit.wordpress.com/2012/10/22/how-to-mount-a-luks-encrypted-partition-on-boot/
jueves, 17 de enero de 2019
Change User Agent general.useragent.override in Seamonkey Firefox CentOS 6
Change User Agent general.useragent.override in Seamonkey Firefox
or
Access web.whatsapp.com in Seamonkey
( some material taken from:Taken from:
https://www.howtogeek.com/113439/how-to-change-your-browsers-user-agent-without-installing-any-extensions/
)
Some sites like web.whatsapp.com do not accept some versions of browsers:
You can easily change this behavior by adding a new 'preference name' in the browser's configuration:
- In URL write:
- Right click on the names and select 'New->String'
- Write:
- In the string value write a known user agent string like:
If you are using Linux:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
- And, if it is set, erase the value of:
Voilà!:
You can choose from a variety of user agent strings from:
http://useragentstring.com/pages/useragentstring.php/
For Firefox:
http://useragentstring.com/pages/useragentstring.php?name=Firefox
Suscribirse a:
Entradas (Atom)