Difference between revisions of "USB OFFLINE: Debian 11.7 install sudoer"

From OnnoWiki
Jump to navigation Jump to search
 
Line 4: Line 4:
 
  /usr/sbin/adduser onno sudo
 
  /usr/sbin/adduser onno sudo
 
  /usr/sbin/adduser offline 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

Latest revision as of 05:09, 17 June 2023

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