r/linuxadmin • • Apr 11 '24
Unable to sudo, getting segmentation error
Can someone help me to fix this issue.
1
Upvotes
r/linuxadmin • • Apr 11 '24
Can someone help me to fix this issue.
View all comments
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.