9-Becoming Root
- Example:
- two pretend accounts
- joe
- regular user
- superjoe
- administrator
- running as joe
- su - username
- switch user
- su - superjoe
- become superjoe
- the password you are prompted for is superjoe's password
- the password for the user you are trying to become
- the prompt changes to show that you are running as that user
- ****************:~ superjoe$
- WARNING
- You could destroy your system
- To switch to root
- two ways
- sudo bash
- runs the commands as root in the shell
- not completely the root user
- sudo su -
- switch user into the root user
- the password is the administrator password, same one you
would type in for sudo
- completely becomes the root user
- Bart Busschots
- bartb.ie
- impodcast.tv
- podfeet.com