User Tools

Site Tools


wiki:cmds:sudo

sudo com lecture file

sudo visudo

#add ao arquivo
Defaults       lecture=always
Defaults       lecture_file=/etc/sudo_lecture.txt

Clique no link para fazer o download do arquivo e evitar a perda de caracteres.

groot.txt
       \^V//
       |. .|    I AM (G)ROOT!
     - \ - / _
      \_| |_/
        \ \
      __/_/__
     |_______|   With great power comes great responsibility.
      \     /    Use sudo wisely.
       \___/


Criar o arquivo: /etc/sudo_lecture.txt

sudo cp groot.txt /etc/sudo_lecture.txt

Testando:

sudo -k
sudo -i

Fonte:

wiki/cmds/sudo.txt · Last modified: 2021/02/15 15:29 by cleiton

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki