Solved Can toor be removed entirely and if so, how can I remove it?

When I try to run "rmuser toor" as root I get this:

Code:
rmuser: user (toor) has uid 0. You may not remove this user.

I ask because someone on the forum said in passing that they prefer to "remove it entirely" and I would like to remove it if that is a possibility.
 
Last edited by a moderator:
You can remove it but some advise to leave it alone since it can be used for system recovery or as an alternative shell for root. I have removed it from my systems before without a problem.
 
You can remove it but some advise to leave it alone since it can be used for system recovery or as an alternative shell for root. I have removed it from my systems before without a problem.

Thanks for reaching out. Any chance you recall how you did it? Trying to remove it with rmuser does not work for me.
 
Nevermind. For whatever reason, you have to use pw instead of rmuser. The below did the trick for me:

pw userdel toor
 
Last edited by a moderator:
Back
Top