
Linux
Jin Zhenglei
one more again
展开
-
Could not chdir to home directory /home/xxx:Permission denied
问题:Could not chdir to home directory /home/xxx:Permission denied原因:这是用户的目录里的.bash_profile 的拥有者和所属组的问题。解决:a. 检查该目录的情况: ll -d xxxb.改变所属组: chown -R xxx:ADSUSER/home/xxx关于直接新建用户:adduser -d /home/xxx -m xxx结果:错误,文件已存在,说明修复回了该节点,所以无法重新创建...原创 2020-09-30 10:35:51 · 14080 阅读 · 0 评论 -
ssh: Could not resolve hostname github.com: Name or service not known.fatal: Could not read...
ssh: Could not resolve hostname xxxxxxx.com: Name or service not knownfatal: Could not read from remote repository.最基本的尝试:ping www.baidu.com #百度都ping不通,那很明显就是虚拟机网卡的问题在ping不通的情况下,直接运行 service network restart #重启网卡然后就完事啦在ping通的情况下, 自行百度其他解决方法 _...原创 2020-09-14 17:40:19 · 890 阅读 · 0 评论