sudo isn't segfaulting. something on the login path user 🟥🟥🟥 is segfaulting. If 🟥🟥🟥 can be logged in to normally, try that. Also try removing the - from your su invocation. There's probably something in 🟥🟥🟥's login scripts or rc files that is broken.
Also, as you are already root, the sudo part of sudo su is not necessary.
It's not, but I still use it sometimes when there are paths that only root has access to read.
Say for example there's a whole tree of files somewhere and they're all only readable by root. Tab-completion won't work with a regular user, so I'll sudo su - into root while finding my way.
64
u/forbiddenlake Apr 11 '24
sudo isn't segfaulting. something on the login path user 🟥🟥🟥 is segfaulting. If 🟥🟥🟥 can be logged in to normally, try that. Also try removing the
-from yoursuinvocation. There's probably something in 🟥🟥🟥's login scripts or rc files that is broken.Also, as you are already root, the
sudopart ofsudo suis not necessary.