Thread
:
[CLI] how to become root
View Single Post
Netweaver
2009-11-04 , 01:06
Posts: 323 | Thanked: 180 times | Joined on Oct 2009 @ Gent, Belgium
#
9
I installed the 'rootsh' package but when executing the 'sudo gainroot' command in the xterm, in the 'device' screen, I'm getting :
Code:
'sudo: must be setuid root'
when I do in Scratchbox a 'ls -l /usr/bin/sudo' I'm getting this:
Code:
-rwsr-xr-x 2 maemo maemo 84212 2009-04-17 /usr/bin/sudo
shouldn't this be owned by root/root in a normal Linux install ? But this is under Scratchbox, already an emulated install...
anyway, I removed rootsh and reinstalled : same issue.
BTW, the package I'm installing has version 1.5.
the syntax 'rootsh <any single command>' seems to work, the rootsh shell script is created in the /usr/sbin directory but actually it doesn't have root powers either.
Is this supposed to work at all in the SDK ?
Thanks.
Netweaver
View Public Profile
Send a private message to Netweaver
Find all posts by Netweaver