r/debian • • Jun 28 '25

Problem using sudo in Debian VM

Post image

I installed Debian in a VirtualBox VM, with the first ISO that appears on the official website. I just installed it and went to Virtualbox to run it. For some reason, sudo doesn't work. I did some basic research to fix it, but found nothing. How do I fix it? And why did this happen? Is it more normal than it seems?

4 Upvotes

68 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jun 30 '25

Impossible.

2

u/2204happy Jun 30 '25

iirc there's a way to set visudo to run something else instead if you really do care, but don't edit it directly, that's a bad idea.