ubuntu get root privileges

1. Create root account password

$ sudo passwd Enter the root account password

2. Temporarily gain root privileges

$ sudo - Enter the correct root account password to gain root privileges


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325806988&siteId=291194637