ssh安装:yum install openssh-server
netstat安装: yum install net-tools
开机启动设置
ssh chkconfig sshd on
centos7 systemctl enable sshd
用户获取sudo权限
a)usermod -a -G wheel 用户名
b)vi /etc/sudoers
## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL
cos4 ALL=(ALL) NOPASSWD: ALL
linux常用命令收集
猜你喜欢
转载自theseus.iteye.com/blog/2308758
今日推荐
周排行