sudo-project / sudo

Utility to execute a command as another user
https://www.sudo.ws
Other
1.14k stars 209 forks source link

init: must be run as PID 1 #340

Closed zhujintao closed 6 months ago

zhujintao commented 6 months ago

not working properly after version 1.9.12: sudo /sbin/init init: must be run as PID 1

millert commented 6 months ago

What are you trying to accomplish? Are you in single user mode when you try this? Sudo will run the command as a child process by default so the command will never be PID 1.

millert commented 6 months ago

Closing due to lack of response from submitter.