Hello
When i got my RPI working it would not let me poweroff unless i was a "superuser". how do I become a superuser on the rpi.
Hello
When i got my RPI working it would not let me poweroff unless i was a "superuser". how do I become a superuser on the rpi.
The information and advice given above is correct, but it's worth adding a little note about the typical use of sudo versus su. You'll be using sudo mostly as you learn and gain experience with the Unix command line, but sudo is akin to the safety wheels on a learner's bicycle. It's an important facility and greatly helps to reduce accidents and the tears that can result from them. Once you are an expert though, you'll most commonly detach those wheels from your Unix bike, because they often get in the way of effective cycling.
In other words, as you gain experience you'll find that your use of sudo decreases, and that instead you'll pop up an xterm window su'd to root (or similarly on a VT) to perform essential operations that need root privilege, dropping root or the whole window (or logging out of the VT) when no longer needed. And if your fun Pi experience ever turns into a career, you'll discover that use of sudo is extremely rare among professional Unix system administrators. They're paid to know what they're doing and to not make the elementary mistakes that sudo partly mitigates.
The information and advice given above is correct, but it's worth adding a little note about the typical use of sudo versus su. You'll be using sudo mostly as you learn and gain experience with the Unix command line, but sudo is akin to the safety wheels on a learner's bicycle. It's an important facility and greatly helps to reduce accidents and the tears that can result from them. Once you are an expert though, you'll most commonly detach those wheels from your Unix bike, because they often get in the way of effective cycling.
In other words, as you gain experience you'll find that your use of sudo decreases, and that instead you'll pop up an xterm window su'd to root (or similarly on a VT) to perform essential operations that need root privilege, dropping root or the whole window (or logging out of the VT) when no longer needed. And if your fun Pi experience ever turns into a career, you'll discover that use of sudo is extremely rare among professional Unix system administrators. They're paid to know what they're doing and to not make the elementary mistakes that sudo partly mitigates.