(erl0002100)

Publicado em 26/06/2019 14h47 Atualizado em 22/11/2021 12h05

Os usuários que tentaram o desbloqueio várias vezes sem sucesso são bloqueados por erros sucessivos nas respostas de dados cadastrais e/ou nas perguntas desafio.
Após este tipo de bloqueio, o usuário deverá entrar em contato com sua unidade de gestão de pessoas que é a responsável por operar o sistema e restaurar o acesso.

(erl0002100)

 Caso o servidor possua Certificado Digital (TOKEN), poderá efetuar o procedimento de desbloqueio realizando o login no SIGAC com o TOKEN. Sendo assim, o servidor com certificado não precisará se deslocar até a unidade de Gestão de Pessoas.


Consulta
Para consultar o número e sua unidade de Gestão de Pessoas (RH/UPAG), acesse o aplicativo Sigepe Mobile e não realize o login, na tela inicial do aplicativo, clique no ícone “?”, clique em “Localizar unidade Gestora”; insira o seu CPF e posteriormente aparecerão todas as informações da sua Unidade Pagadora (UPAG) – veja o procedimento aqui.

É muito importante saber como desbloquear a conta Gov.br. O login único pode ter o acesso bloqueado por diferentes motivos e, sem o desbloqueio, pode impedir o acesso a serviços importantes do Governo Federal.

  • 5 serviços úteis do Gov.br que você precisa conhecer
  • Como assinar documento digitalmente no Gov.br

Sem a sua conta Gov.br, não é possível acessar plataformas digitais como o INSS, Carteira Nacional de Habilitação Digital, portal do candidato do ENEM, cartão do SUS, título de eleitor, entre outras opções. Veja, a seguir, como desbloquear a conta Gov.br e gerar uma senha nova.

Quando a conta Gov.br é bloqueada

O principal motivo para bloquear uma conta Gov.br é o excesso de tentativas de login. Isso pode acontecer quando o usuário esquece a própria senha ou quando outras pessoas tentam invadir a conta.

Após quatro tentativas seguidas de login sem sucesso, a conta é bloqueada. Dessa forma, ao inserir a senha, um aviso é exibido, mencionando os erros ERL0002600 ou ERL0000500, além de um e-mail notificando o bloqueio. Nesse caso, é possível aguardar um tempo para que a conta seja desbloqueada pelo sistema. Caso precise acessá-la o quanto antes, a solução é recuperar a conta a partir da criação de uma nova senha.

Além disso, também existem situações em que não é possível acessar a sua conta Gov.br imediatamente após o login. Isso acontece quando a conta está inutilizada há muito tempo ou precisa de uma senha mais forte. Nesse caso, após informar as suas credenciais de acesso, também será necessário atualizar dados cadastrais.

Como desbloquear a conta Gov.br pelo PC ou celular

  1. Acesse a tela de login do Gov.br em qualquer plataforma, pelo navegador ou celular. Em seguida, mesmo com o bloqueio, informe o seu CPF;
  2. Na tela para digitar a senha, toque em “Esqueceu a senha”;
  3. Por fim, prossiga com as etapas de verificação. Caso tenha o reconhecimento facial cadastrado, é possível realizar esse procedimento pelo celular. Além disso, é possível receber códigos pelo celular, e-mail ou usar o Internet Banking para validar. Insira a nova senha para concluir e acesse sua conta novamente.

É importante ressaltar que, caso tenha o reconhecimento facial ativo e queira usar outra forma de recuperação de senha, o nível da sua conta Gov.br pode ser reduzido. Após a criação de uma nova senha, é possível realizar os processos para aumentar o nível de segurança novamente.

Michael Altfield Asks: Communicating with root child process launched with osascript "with administrator privileges"
How can I pass messages between a parent process that launches a child process as root using Apple Script and stdin/stdout?

I'm writing an anti-forensics GUI application that needs to be able to do things that require root permissions on MacOS. For example, shutting down the computer.

For security reasons, I do not want the user to have to launch the entire GUI application as root. Rather, I want to just spawn a child process with root permission and a very minimal set of functions.

Also for security reasons, I do not want the user to send my application its user password. That authentication should be handled by the OS, so only the OS has visibility into the user's credentials. I read that the best way to do this with Python on MacOS is to leverage osascript.

Unfortunately, for some reason, communication between the parent and child process breaks when I launch the child process using osascript. Why?

Example with sudo​

First, let's look at how it should work.

Here I'm just using sudo to launch the child process. Note I can't use sudo for my use-case because I'm using a GUI app. I'm merely showing it here to demonstrate how communication between the processes should work.

Parent (spawn_root.py)​

The parent python script launches the child script root_child.py as root using sudo.

Then it sends it a command soft-shutdown\n and waits for the response

Code:

#!/usr/bin/env python3
import subprocess, sys

from subprocess import PIPE, Popen
from getpass import getpass

proc = subprocess.Popen(
 [ 'sudo', sys.executable, 'root_child.py' ],
 stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True
)

print( "sending soft-shutdown command now" )
proc.stdin.write( "soft-shutdown\n" )
proc.stdin.flush()
print( proc.stdout.readline() )

proc.stdin.close()

Child (root_child.py)​

The child process enters an infinite loop listening for commands (in our actual application, the child process will wait in the background for the command from the parent; it won't usually just get the soft-shutdown command immediately).

Once it does get a command, it does some sanity checks. If it matches soft-shutdown, then it executes shutdown -h now with subprocess.Popen().

Code:

#!/usr/bin/env python3
import os, sys, re, subprocess

if __name__ == "__main__":

    # loop and listen for commands from the parent process
    while True:

        command = sys.stdin.readline().strip()

        # check sanity of recieved command. Be very suspicious
        if not re.match( "^[A-Za-z_-]+$", command ):
            sys.stdout.write( "ERROR: Bad Command Ignored\n" )
            sys.stdout.flush()
            continue

        if command == "soft-shutdown":
            try:
                proc = subprocess.Popen(
                 [ 'sudo', 'shutdown', '-h', 'now' ],
                 stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True
                )
                sys.stdout.write( "SUCCESS: I am root!\n" )
                sys.stdout.flush()
            except Exception as e:
                sys.stdout.write( "ERROR: I am not root :'(\n" )
                sys.stdout.flush()
                sys.exit(0)

            continue
        else:
            sys.stdout.write( "WARNING: Unknown Command Ignored\n" )
            sys.stdout.flush()
            continue

Example execution​

This works great. You can see in this example execution that the shutdown command runs without any exceptions thrown, and then the machine turns off.

Code:

user@host ~ % ./spawn_root.py  
sending soft-shutdown command now
SUCCESS: I am root!
...
user@host ~ % Connection to REDACTED closed by remote host.
Connection to REDACTED closed.
user@buskill:~$

Example with osascript​

Unfortunately, this does not work when you use osascript to get the user to authenticate in the GUI.

For example, if I change one line in the subprocess call in spawn_root.py from using sudo to using `osascript as follows

Parent (spawn_root.py)​


Code:

#!/usr/bin/env python3
import subprocess, sys

from subprocess import PIPE, Popen
from getpass import getpass

proc = subprocess.Popen(
 ['/usr/bin/osascript', '-e', 'do shell script "' +sys.executable+ ' root_child.py" with administrator privileges' ],
 stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True
)

print( "sending soft-shutdown command now" )
proc.stdin.write( "soft-shutdown\n" )
proc.stdin.flush()
print( proc.stdout.readline() )

proc.stdin.close()

Child (root_child.py)​


Code:

(no changes in this script, just use 'root_child.py' from above)

Example Execution​

This time, the parent gets stuck indefinitely when trying to communicate with the child.

Code:

user@host spawn_root_sudo_communication_test % diff simple/spawn_root.py simple_gui/spawn_root.py 
sending soft-shutdown command now

Why is it that I cannot communicate with a child process that was launched with osascript?

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.