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

From OnnoWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
  su root
 
  su root
  apt-get install sudo
+
  apt -y install sudo
  adduser onno sudo
+
  /usr/sbin/adduser onno sudo
  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