-
Notifications
You must be signed in to change notification settings - Fork 0
EmergencyPasswords
Donald Buczek edited this page Jul 13, 2024
·
6 revisions
- Mariux64 "root" Password: _______________
- AD "WIS-NET\Administrator" Password: _______________
- OS/X local admin "admin" Password: _______________
- BIOS password: _______________
- GRUB boot password: _______________
- local Windows Admin "Administrator" (Workstation,Notebook,Server) : see below
- local Windows Admin "Administrator" (DCs): _______________
- local Windows Admin "Backup" (WinBkps): _______________
SECRET: _______________
Restore backup.key
with the following content:
{ "kdf": null,
"created": "2021-10-04T17:38:40+02:00",
"modified": "2021-10-04T17:38:40+02:00",
"data": "SECRET",
"fingerprint": "56:22:1b:83:ed:ce:32:d8:76:59:ca:8c:fa:9d:04:1b:40:2b:3d:2a:b2:68:00:bf:14:71:44:8b:71:42:ec:88"
}
SECRET: _______________
Restore /confidential/archive/bin/.passsphase-file
with
echo "SECRET" > /confidential/archive/bin/.passphrase-file
SECRET: ____________________________________
Restore /project/it/WindowsSecret.txt
with
echo -n "SECRET" > /project/it/WindowsSecret.txt
Password is computed from computer name and the secret. Algorithm:
#! /usr/bin/perl
use strict;
use warnings;
use Digest::SHA;
@ARGV == 1 or die "usage: $0 name\n";
my ($name) = @ARGV;
open my $in,'<','/project/it/WindowsSecret.txt' or die "/project/it/WindowsSecret.txt: $!\n";
my $hex = Digest::SHA->new(256)->add(lc $name)->addfile($in)->hexdigest;
print ".\\administrator / ",join("-", $hex =~ /(....)(....)/),"\n";