Please click on the lower left corner of the icon (start button).Click Terminal menu item to open the terminal.Input the command below: % sudo su –Press Enter.Your terminal prompt will become #.You now have root privleges on all operations in the terminal window.
How do I get to root in Linux?
- Please click on the lower left corner of the icon (start button).
- Click Terminal menu item to open the terminal.
- Input the command below: % sudo su –
- Press Enter.
- Your terminal prompt will become #.
- You now have root privleges on all operations in the terminal window.
How do I become root user in CentOS 8?
- Open the terminal application.
- For remote CentOS server use the ssh command and log in as the root user using either su or sudo.
- Create a new CentOS user named tom, run: useradd tom.
- Set the password, execute: passwd tom.