设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Gentoo Linux
›
普通用户su不了(已解决)
返回列表
查看:
869
|
回复:
5
普通用户su不了(已解决)
[复制链接]
flies
flies
当前离线
积分
207
IP卡
狗仔卡
发表于 2005-11-25 11:25:30
|
显示全部楼层
|
阅读模式
su,然后输入密码,提示没有权限,我非常迷茫
这个普通用户是通过useradd添加的
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
LYOO
LYOO
当前离线
积分
782
IP卡
狗仔卡
发表于 2005-11-25 11:47:48
|
显示全部楼层
加入wheel组
回复
支持
反对
使用道具
举报
显身卡
flies
flies
当前离线
积分
207
IP卡
狗仔卡
楼主
|
发表于 2005-11-25 12:26:25
|
显示全部楼层
$su
su:Authentication Failure
Sorry
我的/bin/su的属性是-rwx--x--x root root
把用户加入wheel组也没有用
回复
支持
反对
使用道具
举报
显身卡
d00m3d
d00m3d
当前离线
积分
14541
IP卡
狗仔卡
发表于 2005-11-25 12:46:39
|
显示全部楼层
/bin/su的正确属性是-rws--x--x root root
回复
支持
反对
使用道具
举报
显身卡
blackwhite
blackwhite
当前离线
积分
2506
IP卡
狗仔卡
发表于 2005-11-25 14:35:32
|
显示全部楼层
Post by
LYOO
加入wheel组
gpasswd -a <username> wheel
/bin/su的熟悉也不对。
那就chmod +s /bin/su
回复
支持
反对
使用道具
举报
显身卡
flies
flies
当前离线
积分
207
IP卡
狗仔卡
楼主
|
发表于 2005-11-25 15:18:04
|
显示全部楼层
谢谢,问题解决。开始没有看清楚,运行su提示Pemission Denied我就chmod 744 su了,结果成了Authentication Failure。
解决很简单:
chmod 4711 /bin/su
gpasswd -a <username> wheel
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
shell进阶应用、shell编程
Slackware Linux
SuSE Linux
Linux 程序设计专题讨论
开源软件专题讨论
Debian Linux
Mandriva Linux
BSD 讨论专题
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表