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
原文地址:https://www.cnblogs.com/-rzx-/p/12382336.html