免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 780 | 回复: 1
打印 上一主题 下一主题

su问题,是不是要重新安装 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-09 14:30 |只看该作者 |倒序浏览
[leng@mandrake leng]$ su -
Password:
su: warning: cannot change directory to /root: Permission denied
su: cannot set groups: Operation not permitted
[leng@mandrake leng]$
[leng@mandrake leng]$

root的权限为
[root@mandrake /]# ls -l
总用量 56
drwxr-xr-x    2 root     root         4096  6月 16 17:26 bin/
drwxr-xr-x    3 root     root         4096  7月  9 13:18 boot/
drwxr-xr-x    1 root     root            0  1月  1  1970 dev/
drwxr-xr-x   71 root     root         4096  7月  9 14:08 etc/
drwxr-xr-x    4 root     root         4096  7月  9 14:08 home/
drwxr-xr-x    2 root     root         4096  6月 16 18:29 initrd/
drwxr-xr-x   10 root     root         4096  6月 16 17:36 lib/
drwxr-xr-x    8 root     root         4096  7月  2 20:22 mnt/
drwxrwxr-x    2 root     root         4096  8月 23  1999 opt/
dr-xr-xr-x  115 root     root            0  7月  9 13:16 proc/
drwx------   37 root     root         4096  7月  9 14:26 root/
drwxrwxr-x    4 samba    samba        4096  7月  5 23:38 samba/
drwxr-xr-x    2 root     root         4096  7月  4 23:17 sbin/
drwxrwxrwt   44 root     root         4096  7月  9 14:24 tmp/
drwxr-xr-x   12 root     root         4096  7月  5 21:35 usr/
drwxr-xr-x   23 root     root         4096  6月 20 16:11 var/
[root@mandrake /]#

su的权限为
-rwxrwxr-x    1 root     root        19064  2月 13 16:17 su*

大家看是什么问题?

论坛徽章:
0
2 [报告]
发表于 2003-07-09 14:52 |只看该作者

su问题,是不是要重新安装

chmod +s /bin/su     (以root身份执行)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP