Pular para o conteúdo principal

Postagem em destaque

BlackTDN :: Autenticação 2FA para Usuário Root no WSL

--- # naldodj-wsl-2FA ## Autenticação 2FA para Usuário Root no WSL ### Introdução O Windows Subsystem for Linux (WSL) é uma ferramenta poderosa que permite aos desenvolvedores executar um ambiente Linux diretamente no Windows. No entanto, a segurança é uma preocupação importante, especialmente quando se trata de acessar o usuário root. Neste post, vamos mostrar como configurar a autenticação de dois fatores (2FA) para o usuário root ao acessar o WSL, garantindo uma camada adicional de segurança. ### Objetivo Vamos configurar um script de login que valida a senha do root e usa autenticação 2FA baseada em Time-based One-Time Password (TOTP), usando ferramentas comuns como `openssl`, `oathtool`, e `perl`. ### Passo 1: Instalar as Ferramentas Necessárias Primeiro, precisamos garantir que temos todas as ferramentas necessárias instaladas. Isso inclui `openssl`, `oathtool`, e `perl`. ```bash sudo apt-get update sudo apt-get install openssl oathtool perl ``` Para os scripts em Lua.

BlackTDN

BlackTDN

Comentários

  1. Back In Black
    (Angus Young - Malcolm Young - Brian Johnson)

    back in black I hit the sack
    I been too long I’m glad to be back
    yes I am
    let loose from the noose
    that's kept me hanging about
    I keep looking at the sky cause it's gettin' me high
    forget the hearse cause I’ll never die
    I got nine lives cat's eyes
    using every one of them and runnin' wild
    cause I’m back
    yes I’m back well I’m back
    yes I’m back
    well I’m back back
    well I’m back in black
    yes I’m back in black
    back in the back of a Cadillac
    number one with a bullet I’m a power pack
    yes I am
    in a bang with the gang
    they gotta catch me if they want me to hang
    cause I’m back on the track and I’m beatin' the flack
    nobody's gonna get me on another rap
    so look at me now I’m just makin' my play
    don't try to push your luck just get out of my way
    cause I’m back
    yes I’m back
    well I’m back
    yes I’m back
    well I’m back back
    well I’m back in black
    yes I’m back in black

    well I’m back yes I’m back
    well I’m back yes I’m back
    well I’m back back
    well I’m back in black
    yes I’m back in black

    well I’m back back
    well I’m back back
    back back
    back in black
    yes I’m back in black

    outta sight

    ResponderExcluir

Postar um comentário

Postagens mais visitadas