Administering
-
8. Getting Admin Power
Last How to Get the Admin Super-Powers
To Login as SuperUser:
sudo su
Especially relevant: take care because with the Admin Login you can Delete Anything and so your System may be in a Harm!
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Then to Logout:exit
To Protect your System from the potential Damage of an Hazardous Crazy Command Execution the Logout should be executed every Time your Setup is Achieved!
Finally, to Execute a Single Command as SuperUser:sudo su -c 'myCommand'
Or:
sudo myCommand
So for instance to List the Protected root Directory try to run:
sudo ls /root
-
How to Set Permissions on Ubuntu File System
Congratulations, you are now Initiated to the awesome Linux Ubuntu Command Line Shell. ;)
Ubuntu Best Software Installation Guides:
Best Software to Install on Ubuntu.
Contents