Nekako si se izbacio iz /etc/sudoers fajla. To mozesh lako da ispravish.
Kucaj
su, zatim
pass i bicesh root. Onda uradi
gedit /etc/sudoers i na kraj texta dodaj
, gde cesh umesto
username pisati svoga usera ili recimo
%admin, ako je tvoj user chlan admin grupe. Evo ti moj sudoers, chisto kao primer:
Kod: Označi sve
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
,
Ako sudoers file hocesh da editujesh u konzoli, kucaj
su, pa
pass i onda
visudo, dodaj na kraj shto i malopre, stisni
esc, zatim
shift+, otkucaj
wq pa
enter.