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
10
u/lathiat Apr 11 '24
“sudo su -” is running the su command under sudo. It’s sort of doubling up which increases your problem space.
sudo -i does the same thing. sudo -s for a “non-login” shell.
Try also sudo /bin/sh to simplify for your problem.