<分区>
如何更改远程 PC 中的 shell?我使用 Bash 登录到一个集群,我看到的输出是
elan@l01:~ $ chsh
chsh: can only change local entries; use ypchsh instead.
elan@l01:~ $ ypchsh
-bash: ypchsh: command not found
因为我在那里没有root权限,所以我不能在集群中安装ypchsh。有没有其他方法可以在不调用 ypchsh 的情况下更改 shell?
注1: 浏览时,似乎安装了相同软件的另一个用户(目前无法查询)在他的目录中有 .cshrc,并且设置正确。他的 .bashrc 是最小的,没有重定向。
/etc/passwd 没有我们任何人的条目。
getent passwd
显示我们两个的条目,但只显示/bin/bash。
注2: 该软件是使用 autotools 开发的,已知使用 bash 而不是 tcsh 会创建错误的构建。 (我不换 shell,因为我喜欢它。)
谢谢, 伊兰