Last active
November 16, 2016 08:30
-
-
Save elrrrrrrr/e73ee7823b2579bb61d3abe54f1a701f to your computer and use it in GitHub Desktop.
ubuntu add a user as sudo .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
放一点命令行操作备忘 | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo adduser | |
sudo adduser <username> sudo | |
vim /etc/sudoers | |
%sudo ALL=(ALL:ALL) ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostnamectl set-hostname 'new-hostname' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment