首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将Fish更改为默认shell时出现的问题

将Fish更改为默认shell时出现的问题
EN

Ask Ubuntu用户
提问于 2016-06-14 08:18:33
回答 1查看 3.5K关注 0票数 4

因此,我尝试使用以下命令使Fish成为我的默认shell:

代码语言:javascript
复制
sudo chsh -s /usr/bin/fish 'myUsername'

每次我发射终端时,我都会得到这样的信息:

代码语言:javascript
复制
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied

我试过使用:sudo chsh -s /usr/bin/bash 'myUsername'

但我得到了:

代码语言:javascript
复制
chsh: PAM: Authentication failure
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied

有办法解决我搞砸的事吗?我想回到巴什。我用的是Ubuntu 16.04

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2016-06-14 08:53:29

我找到了这个链接,它解决了我的问题,以及Ziazis最初的建议。

Ziazis的建议:

代码语言:javascript
复制
sudo chown user:usergroup -R /home/user

一旦实现了,我就不再获得

代码语言:javascript
复制
Unable to open universal variable file '/home/username/.config/fish/fishd.Dlorah': Permission denied

错误,但PAM身份验证错误仍然出现。更多的googlin‘我找到了这个链接:http://ubuntuforums.org/showthread.php?t=1702833

票数 4
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/786754

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档