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
How a network works: packets, addresses and neighbours
What actually travels between two machines, and how each one decides whether the destination is a neighbour or somebody else's problem.
Continue to the next course