国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 系統(tǒng) > CentOS > 正文

CentOS中使用VeraCrypt(三):不使用向?qū)?chuàng)建加密磁盤(pán)

2024-06-28 16:00:28
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

一、創(chuàng)建常規(guī)加密磁盤(pán)

我們使用單純的命令行來(lái)實(shí)現(xiàn)在第一部分使用向?qū)瓿傻娜蝿?wù)。 1、命令如下:

veracrypt -c /--non-interactive /--volume-type normal /-v /dev/sdb /--encryption aes /--hash sha512 /--filesystem Ext4 /-p 123456 /--random-source /root/anaconda-ks.cfg

2、參數(shù)詳解:

參數(shù) 說(shuō)明
--non-interactive 執(zhí)行命令行時(shí)不需要用戶(hù)交互
-c 生成加密磁盤(pán)
--volume-type 這里指定加密磁盤(pán)的類(lèi)型,是常規(guī)加密(normal)
還是隱藏加密(hidden),這里指定是的normal
-v 指定待加密的設(shè)備,這里使用/dev/sdb
--encryptihion 指定加密算法,這里使用aes
--hash 哈希算法,這里使用sha512
--filesystem 加密后使用的文件系統(tǒng)格式,這里使用Ext4
-p 這里指定加密磁盤(pán)的密碼
--random-source 指定一個(gè)文件做為隨機(jī)字符來(lái)源,
可隨意指定一個(gè)字符數(shù)大于320的文件

3、執(zhí)行效果

[root@CenOS6A ~]# veracrypt -c /--non-interactive /--volume-type normal /-v /dev/sdb /--encryption aes /--hash sha512 /--filesystem Ext4 /-p 123456 /--random-source /root/anaconda-ks.cfgDone: 100.000% Speed: 81 MB/s Left: 0 sThe VeraCrypt volume has been successfully created.

二、創(chuàng)建隱藏加密磁盤(pán)

我們使用單純的命令行來(lái)實(shí)現(xiàn)在第二部分使用向?qū)瓿傻娜蝿?wù)。 1、命令如下:

veracrypt -c /--non-interactive /--volume-type hidden /-v /dev/sdb /--encryption aes /--hash sha512 /--filesystem Ext4 /-p 147258 /--random-source //root/anaconda-ks.cfg /--size 500M

2、參數(shù)詳解: 這條命令大部分參數(shù)與創(chuàng)建常規(guī)加密磁盤(pán)一樣,下面介紹二個(gè)不同的地方:

參數(shù) 說(shuō)明
--volume-type 加密磁盤(pán)類(lèi)型這里指定的是hidden
-p 這里指定的密碼是隱藏磁盤(pán)的密碼,
需要和外層磁盤(pán)的密碼不同
--size 指定隱藏盤(pán)的大小(K|M|G),這里指定為500M

3、執(zhí)行效果

[root@CenOS6A ~]# veracrypt -c /--non-interactive /--volume-type hidden /-v /dev/sdb /--encryption aes /--hash sha512 /--filesystem Ext4 /-p 147258 /--random-source //root/anaconda-ks.cfg /--size 500MIMPORTANT: Inexperienced users should use the graphical user interface to create a hidden volume. When using the text interface, the PRocedure described in the command line help must be followed to create a hidden volume.Enter PIM:Enter keyfile path [none]:Done: 100.000% Speed: 100 MB/s Left: 0 sThe hidden VeraCrypt volume has been successfully created and is ready for use. If all the instructions have been followed and if the precautions and requirements listed in the section "Security Requirements and Precautions Pertaining to Hidden Volumes" in the VeraCrypt User's Guide are followed, it should be impossible to prove that the hidden volume exists, even when the outer volume is mounted.WARNING: IF YOU DO NOT PROTECT THE HIDDEN VOLUME (FOR INFORMATION ON HOW TO DO SO, REFER TO THE SECTION "PROTECTION OF HIDDEN VOLUMES AGAINST DAMAGE" IN THE VERACRYPT USER'S GUIDE), DO NOT WRITE TO THE OUTER VOLUME. OTHERWISE, YOU MAY OVERWRITE AND DAMAGE THE HIDDEN VOLUME!
發(fā)表評(píng)論 共有條評(píng)論
用戶(hù)名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 遂溪县| 黄梅县| 潮州市| 淮南市| 丰原市| 淮南市| 屏边| 巴南区| 苏州市| 全州县| 皮山县| 葫芦岛市| 苗栗市| 兴安县| 马鞍山市| 咸丰县| 海宁市| 古交市| 行唐县| 临沂市| 汉中市| 九台市| 固始县| 丰县| 资兴市| 莱州市| 东乡族自治县| 山东省| 玛曲县| 奉节县| 蓬莱市| 二手房| 蒙阴县| 清原| 曲阳县| 陆丰市| 新竹县| 安福县| 武山县| 汉中市| 乐亭县|