DEV Community

Discussion on: How do *you* pronounce sudo?

Collapse
 
kspeakman profile image
Kasey Speakman • Edited

Pseudo. I always took it as being a pseudo-superuser if your user account has sudo permission. Also, the two vowels used are different so it feels more natural (to me) to use different sounds between the syllables. I heard it pronounced "pseudo" for years before I heard some random video on the internet pronounce it as "doo". I just took it as that person not knowing any better and felt bad for them. But I guess it is possible that my pronunciation has been wrong or that popular opinion can change what is "right". (Look at gif, where most of the internet disagrees with the creator of the format on pronunciation.)

The "please" meme is kinda funny, but in my mind it builds the wrong mental model of what sudo is for. It is a protection from making mistakes, a design feature to isolate user-level from system-level changes. Not courtesy. Well anyway, I guess there's nothing wrong with having fun with it as long as you know it's actual purpose.

Collapse
 
strzibny profile image
Josef Strzibny

No, it's not superuser actually. It's from su command "switch user". Also check the man page that says "sudo, sudoedit — execute a command as another user". That means not necessary superuser.

Collapse
 
kspeakman profile image
Kasey Speakman • Edited

You are right, the commands are named for "switch user" not "super user". However, I still think of it as pseudo superuser because that is the default user that you switch to with su or sudo and is the way I use it 99% of the time. And "psuedo" also resonates really well with sudo because you aren't fully switching to the other user to execute the command like you do with su. (Still shows up in original user's command history, etc.)