Difference between revisions of "USB OFFLINE: Debian 11.7 install sudoer"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with " su root apt-get install sudo adduser onno sudo adduser offline sudo") |
Onnowpurbo (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
su root | su root | ||
− | apt- | + | 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