Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-01-2013, 08:27 AM   #1
Registered: Mar 2010
Location: las vegas, nv
Distribution: debian etch, kubuntu, mac osx 10.51, vista
Posts: 65

Rep: Reputation: 15
Cool is this cryptsetup command okay to run as root?


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...

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.
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.
Old 01-03-2013, 09:01 AM   #2
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Originally Posted by oznola View Post

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 .



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cryptsetup: WARNING: could not determine root device from /etc/fstab rendezvous123 Ubuntu 4 02-28-2013 08:09 AM
Run command as root hesisaboury Linux - Newbie 9 06-27-2012 01:18 PM
[SOLVED] Run command as root on startup demencia Linux - Newbie 6 05-14-2011 06:28 PM
Need to run a command, as root, from PHP tibberous Linux - Server 4 07-12-2009 06:47 PM
why lftp command run failed when user isn't root, but ok when logining as root steven_yu Linux - Software 0 06-06-2007 09:36 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration