sudo-project / sudo

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

init: must be run as PID 1 #340

Closed zhujintao closed 11 months ago

zhujintao commented 11 months ago

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

millert commented 11 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 11 months ago

Closing due to lack of response from submitter.