5

求教 etc/passwd 一条记录的解释

 2 years ago
source link: https://www.v2ex.com/t/822820
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

求教 etc/passwd 一条记录的解释

  daijinming · 2 小时 22 分钟前 · 386 次点击

配置 sshd 权限

修改/etc/passwd文件,在其中加入如下配置即可

sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

搜到一篇关于升级 ssh 的博文,不是太理解上面的配置是什么意思,求赐教


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK