LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   is this cryptsetup command okay to run as root? (http://www.linuxquestions.org/questions/linux-security-4/is-this-cryptsetup-command-okay-to-run-as-root-4175443678/)

oznola 01-01-2013 07:27 AM

is this cryptsetup command okay to run as root?
 
hi,

i am new to encrypted disks and so forth.

i have a new kubuntu 12.10 install i have setup with an encrypted volume.

i am trying to backup the binary luks header file as a first exercise working with my encrypted disk. this is the command line i used...

Quote:

alonzo@eartha:~$ cryptsetup luksHeaderBackup --header-backup-file ./backup1 /dev/sda1
WARNING!!! Possibly insecure memory. Are you root?
Cannot open device /dev/sda1 for read-only access.
alonzo@eartha:~$
if i put an sudo in front of this will it back up my luks header for /dev/sda1 into backup1?

after reading dm-crypt FAQ i am feeling cautious.

also what is "Possibly insecure memory." about?

please advise.

thank you.

vishesh 01-03-2013 08:01 AM

Quote:

Originally Posted by oznola (Post 4860601)
hi,


also what is "Possibly insecure memory." about?

Here by this warning , system informing you that is this encryption process some of RAM memory data may be copied to disk . I think you can ignore this warning .


Thanks


All times are GMT -5. The time now is 10:18 AM.