linux-debian-把用户加入root组(Linux Debian add users to the root group)-LINUX
linux-debian-把用户加入root组(Linux Debian add users to the root group)
使用vim进入 /etc/soduoers 打开这个文件
修改数据:
敲击键盘上个的 i
就可以键入字符了,
在root = ALL(ALL:ALL) ALL 的下面敲击
用户名 = ALL(ALL:ALL) ALL
输入完后,敲击esc,退出编辑模式
shift+: 就会进入命令行模式
————————
Use VIM to enter / etc / soduoers to open this file
Modify data:
Tap the # I on the keyboard
You can type characters,
Tap below root = all (all: all)
User name = all (all: all)
After input, tap ESC to exit the editing mode
Shift +: it will enter the command line mode