ITeye博客

linux常用命令收集

theseus · 2018-05-10 11:19 · Linux · 操作系统 · Markdown

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

SecureCRT连接修改 /etc/sshd/sshd_config UseDNS=no

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。