分页: 1 / 1

求助关于tcsh和bash相互转换过程中出现的权限问题

发表于 : 2010-11-13 16:14
ttlihaidong
我用chsh -s /bin/tcsh命令在tcsh和bash之间进行登录转换,后来我又用chsh -s /bin/bash换回bash shell,却出现su无权限
如下:
hd@hd-K40AB:~$ su
Password:
/bin/: /bin/: is a directory
hd@hd-K40AB:~$

请各位帮帮忙

Re: 求助关于tcsh和bash相互转换过程中出现的权限问题

发表于 : 2010-11-15 17:51
tusooa
su root -s /bin/bash

Re: 求助关于tcsh和bash相互转换过程中出现的权限问题

发表于 : 2010-11-16 14:33
ttlihaidong
hd@hd-K40AB:~$ su root -s /bin/bash
密码:
/bin/: /bin/: 是一个目录
hd@hd-K40AB:~$

还是不行啊。。。。。。。。。。。。。

Re: 求助关于tcsh和bash相互转换过程中出现的权限问题

发表于 : 2010-11-23 21:23
tusooa

代码: 全选

grep root /etc/passwd
这不正常了。你贴结果看看。

Re: 求助关于tcsh和bash相互转换过程中出现的权限问题

发表于 : 2010-11-24 14:38
ttlihaidong
hd@hd-K40AB:~$ grep root /etc/passwd
root:x:0:0:root:/root:/bin/
hd@hd-K40AB:~$ su
密码:
/bin/: /bin/: 是一个目录
hd@hd-K40AB:~$ grep root /etc/passwd
root:x:0:0:root:/root:/bin/
hd@hd-K40AB:~$

不行