USB OFFLINE: Debian 11.7 install sudoer

From OnnoWiki
Revision as of 05:09, 17 June 2023 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
su root
apt -y install sudo
/usr/sbin/adduser onno sudo
/usr/sbin/adduser offline sudo

Cek

vi /etc/sudoers

pastikan

# User privilege specification
root    ALL=(ALL:ALL) ALL
onno    ALL=(ALL:ALL) ALL
offline ALL=(ALL:ALL) ALL