美文网首页
Linux Command

Linux Command

作者: W_I_S_E | 来源:发表于2017-06-03 23:37 被阅读0次
  1. 如何将普通用户权限提高至root: http://www.cnblogs.com/shihaiming/p/5856083.html
    (/etc/sudoers)

2.如何允许一个用户通过ssh登录:

在/etc/ssh/sshd_config配置文件中设置AllowUsers选项,(配置完成需要重启SSHD服务)格式如下:
AllowUsers lgh test #允许lgh、test帐户通过SSH登录系统。

  1. 如何设置zsh作为默认shell?

  2. 熟悉Linux下nginx中root、index、如何allow deny ip段

相关文章

网友评论

      本文标题:Linux Command

      本文链接:https://www.haomeiwen.com/subject/hdavxxtx.html