How do I change the root username in Ubuntu?

How do I change the root username in Ubuntu?
Answer
The procedure to change the root user password on Ubuntu Linux:
  1. Type the following command to become root user and issue passwd: sudo -i. passwd.
  2. OR set a password for root user in a single go: sudo passwd root.
  3. Test it your root password by typing the following command: su –
1 янв. 2021 г.
 

Tìm kiếm

Back
Top