Skip to content

EmergencyPasswords

Donald Buczek edited this page Feb 27, 2025 · 6 revisions

Emergency Passwords

  • Mariux64 root Password: _______________
  • AD "WIS-NET\Administrator" Password: _______________
  • OS/X local admin admin Password: _______________
  • BIOS password: _______________
  • GRUB user root password: _______________
  • local Windows Admin Administrator (Workstation,Notebook,Server) : see below
  • local Windows Admin Administrator (DCs): _______________
  • local Windows Admin Backup (WinBkps): _______________

tsm Archive gpg key

SECRET: _______________

Restore /confidential/archive/bin/.passsphase-file with

echo "SECRET" > /confidential/archive/bin/.passphrase-file

local Windows Admin "Administrator" (Workstation,Notebook,Server)

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";