No nos funciona “sudo …”

Esto lo saqué de alguna web, pero no recuerdo la dirección, seguro que hay muchas que lo explican.

Problema: Al ejecutar sudo “comando” me aparece un mensaje de error que dice «(usuario) is not in the sudoers file. This incident will be reported.»

Solución: boot into recovery mode (hit escape if the grub menu is not revealed for you at boot time)
cat /etc/sudoers
It will let you know who has sudo priviledges. Perhaps you misspelled your username?

add the following line to your /etc/sudoers file:
usuario ALL=(ALL) ALL

Comentarios

Aún no hay comentarios. ¿Por qué no comienzas el debate?

Deja un comentario

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.