|
2012-01-06
, 07:08
|
|
Moderator |
Posts: 3,718 |
Thanked: 7,419 times |
Joined on Dec 2009
@ Bize Her Yer Trabzon
|
#2
|
BusyBox v1.19.3 (Debian 1.19.3power3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ root
sudo: must be setuid root
~ $ ls -l /usr/bin/sudo
-rwxr-xr-x 2 root root 90040 Apr 17 2009 /usr/bin/sudo
~ $ chown root:root /usr/bin/sudo
chown: /usr/bin/sudo: Operation not permitted
~ $ chmod 4755 /usr/bin/sudo
chmod: /usr/bin/sudo: Operation not permitted
~ $ reboot
-sh: reboot: not found
The Following User Says Thank You to HtheB For This Useful Post: | ||
|
2012-01-06
, 07:25
|
|
Posts: 191 |
Thanked: 46 times |
Joined on Jun 2010
@ NanJing China
|
#3
|
|
2012-01-06
, 07:31
|
|
Posts: 191 |
Thanked: 46 times |
Joined on Jun 2010
@ NanJing China
|
#4
|
|
2012-01-06
, 07:33
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#5
|
apt-cache policy rootsh
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
2012-01-06
, 07:43
|
|
Posts: 191 |
Thanked: 46 times |
Joined on Jun 2010
@ NanJing China
|
#6
|
What does the output give you?Did you try to get rootsh reinstalled, remove it in some Application Manager, and later install it again?Code:apt-cache policy rootsh
|
2012-01-06
, 09:40
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#7
|
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
2012-01-06
, 10:02
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#8
|
The Following User Says Thank You to Rob1n For This Useful Post: | ||
|
2012-01-06
, 10:45
|
|
Posts: 191 |
Thanked: 46 times |
Joined on Jun 2010
@ NanJing China
|
#9
|
You may shed some light by remembering, what you did recently before the error appeared.
Did you install something weird? Did you edit sudoers file http://wiki.maemo.org/Root_access#A_note_on_sudo? Did you follow some Howto floating around in the internet ?
|
2012-01-06
, 11:21
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#10
|
Enter 'help' for a list of built-in commands.
~ $ root
sudo: must be setuid root
~ $ ls -l /usr/bin/sudo
-rwxr-xr-x 2 root root 90040 Apr 17 2009 /usr/bin/sudo
~ $ chown root:root /usr/bin/sudo
chown: /usr/bin/sudo: Operation not permitted
~ $ chmod 4755 /usr/bin/sudo
chmod: /usr/bin/sudo: Operation not permitted
~ $ reboot
-sh: reboot: not found