![]() If you're used to using sudo, the documentation has information on how to set it up. When you finish running your administrative commands, it's best to leave the root session by typing logout or pressing Ctrl + D to get back to your regular session. ![]() Type the root password when prompted, and you'll then be presented with the # prompt which indicates you're running as root. The - option means to start a login shell as if you'd logged in to root directly. Once this is done, you can log out of the root account and log in to your regular user account.īy default, when you want to run commands as root, you'll use the su command: su. Re-enter the password to confirm the process. You'll be prompted to set up a password for the user. To set a password for the user, use the passwd command: passwd username ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |