ZhenyanLuo / Useful-but-not-important

Some tips
0 stars 0 forks source link

sudo command not available inside container #12

Open Junyan-Lin opened 1 year ago

Junyan-Lin commented 1 year ago

root@295d2402abe8:/usr/lib/sudo# sudo sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy" sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins

Junyan-Lin commented 1 year ago

chmod 644 sudoers.so