Need Help Undoing Sudo Command

Joined
Oct 23, 2014
Messages
2
Reaction score
0
Points
1
I use filecrypt and used this command to destroy the key from RAM when sleeping: "sudo pmset -a destroyfvkeyonstandby 1 hibernatemode 25". It has caused some unexpected side effects and I would like to undo this command. Can anyone tell me what to put in to reset this?
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
14,510
Reaction score
1,072
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio, macOS Monterrey, 32 GB
Welcome to Mac-Forums..

Looking at the PMSET manual and you'll see that you have an option of 0 or 1 for destoryfvkeyonstandby and 0, 3, 25 for hibernatemode.

What side effects are you having?
 
Joined
Apr 26, 2008
Messages
2,963
Reaction score
120
Points
63
Location
Belgium
Your Mac's Specs
iPad Pro 12.9 latest iOS
What unexpected side effects are you referring to ?
It would also be great if you could tell us the version of the OS you are using.
Do you have a backup of your data in case the command can not be undone ?

Cheers ... McBie
 
OP
S
Joined
Oct 23, 2014
Messages
2
Reaction score
0
Points
1
thanks

thanks for the replies. After doing this it puts the computer into hibernate mode so I have to input my password twice. When it wakes up it usually will not connect to my internet properly and I have to reboot it for it to be able to connect. It's possible this is related to my proxy program (PIA) but I did not have this issue before.

Yes I keep a time machine backup and I am using mavericks

So I could just put in this?:
sudo pmset -a destroyfvkeyonstandby 0 hibernatemode 25

or maybe:

sudo pmset -a destroyfvkeyonstandby 0 hibernatemode 0

what would be the default?
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
14,510
Reaction score
1,072
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio, macOS Monterrey, 32 GB
On my rMBP with no modifications, hibernatemode is set to 3. You likely want destoryfvkeyonstandby to be 0..

So:

sudo pmset -a destroyfvkeyonstandby 0 hibernatemode 3
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top