This error message indicates that the user "sunqi" cannot be deleted because there is a process running under that user's account. You will need to identify and terminate the process before attempting to delete the user.

To identify the process, you can use the following command:

ps -u sunqi

This will show you a list of all processes running under the user "sunqi". Once you have identified the process that is causing the issue, you can use the following command to terminate it:

kill <PID>

Replace "" with the process ID of the process you want to terminate. Once the process has been terminated, you can try to delete the user again using the "userdel" command.

rootlocalhost ~# userdel -f sunqiuserdel user sunqi is currently used by process 2895

原文地址: https://www.cveoy.top/t/topic/bSzN 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录