-
Notifications
You must be signed in to change notification settings - Fork 0
EmergencyPasswords
Donald Buczek edited this page Feb 11, 2025
·
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 /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";