Skip to main content
Kill -9 Club
Sign in

Becoming someone else, and which shell you get

su versus sudo -u, login shell versus plain: what sudo -u postgres psql really changes, and why su postgres asks for a password nobody has.

22 minutesTechnical content last reviewed on 16 Sept 2026

This lesson is for signed-in learners

Create an account to subscribe and record your learning progress.

What this lesson builds

  • Granting exactly the access a person or process needs
  • Narrowing an unknown failure to one component

End of the course

Networking: how your server is reached

Addresses, ports and connections: name the failing layer instead of declaring "the network is down".

Continue to the next course