ubuntu添加新用户

useradd linc -m -s /bin/bash

 

添加sudoers

su -

vim /etc/sudoers

 

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL
rzx     ALL=(ALL) NOPASSWD: NOPASSWD: ALL



删除mysql

sudo apt-get remove --purge mysql-\*
sudo    rm   -rf     /ect/init.d/mysql

 

posted @ 2020-02-29 12:35  rrrzx  阅读(172)  评论(0编辑  收藏  举报