Ela*_*lan 3 linux bash shell tcsh
如何更改远程PC中的shell?我登录了一个带有Bash的集群,我看到的输出是
elan@l01:~ $ chsh
chsh: can only change local entries; use ypchsh instead.
elan@l01:~ $ ypchsh
-bash: ypchsh: command not found
Run Code Online (Sandbox Code Playgroud)
由于我没有root权限,我无法在群集中安装ypchsh.有没有其他方法可以在不调用ypchsh的情况下更改shell?
注意1:浏览,看起来像安装相同软件(目前不可用于提问)的另一个用户在其目录中具有.cshrc,并具有正确的设置.他的.bashrc很小,没有重定向.
/ etc/passwd没有任何一个条目.
getent passwd
Run Code Online (Sandbox Code Playgroud)
显示我们两个人的条目,但两者都只显示/ bin/bash.
注2:软件是用autotools开发的,并且使用bash代替tcsh已知会创建错误的构建.(我不会改变shell,因为我喜欢它.)
谢谢你,Elan
| 归档时间: |
|
| 查看次数: |
6560 次 |
| 最近记录: |