Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
When I enter reboot on the command line, I get:
reboot: Need to be root
and asked the root / sudo password. When I reboot via the gui I can do that without my sudo password. Why is that? What's happening internally of the ubuntu system there?