su Operation not permitted on mpc8349-mitx platform

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

su Operation not permitted on mpc8349-mitx platform

1,370 次查看
steverino2
Contributor I
I have a small problem but one that is causing me some grief. After logging in to local console (serial port) as root, I need to telnet into the platform and then su root to continue testing. Simple enough right, having done this a million times on *nix

Or is it?  having created a user account to telnet in, I can login OK, but then attempting to su returns the following error:

-sh-2.05b$ su - root
Password:
su: cannot set groups: Operation not permitted

I've checked permissions on /etc/passwd, /etc/group

added suid sgid to busybox
chmod u+s /bin/busybox
chmod g+s /bin/busybox

but no luck so far.  kudos to the expert who can solve this one!

TIA
/steverino2

0 项奖励
回复
1 回复

834 次查看
maykel
Contributor I
Try editing the file /etc/busybox.conf and uncommenting the line: su = ssx root.root
0 项奖励
回复