![]() |
2010-12-23
, 17:06
|
Posts: 21 |
Thanked: 0 times |
Joined on Nov 2010
@ india
|
#12
|
![]() |
2010-12-23
, 17:08
|
Posts: 21 |
Thanked: 0 times |
Joined on Nov 2010
@ india
|
#13
|
![]() |
2010-12-23
, 17:16
|
Posts: 21 |
Thanked: 0 times |
Joined on Nov 2010
@ india
|
#14
|
Don't run:
But rather:Code:sudo su -
sudo runs commands as "superuser" or root (normally)... And You're not allowed to run su as via sudo as 'user'...Code:su -
And since You want to change from 'user' to 'root' without using sudo just run su -
![]() |
2010-12-23
, 17:21
|
|
Posts: 820 |
Thanked: 436 times |
Joined on May 2010
@ Portsmouth, UK.
|
#15
|
![]() |
2010-12-23
, 17:24
|
Posts: 21 |
Thanked: 0 times |
Joined on Nov 2010
@ india
|
#16
|
![]() |
2010-12-23
, 17:43
|
Posts: 515 |
Thanked: 266 times |
Joined on Nov 2009
@ Oelsted, Denmark
|
#17
|
But soon after opening the terminal if i execute su - (it doesnt work)
~$su -
su: must be suid to work properly
not sure if still i am doing something wrong
chmod u+s /bin/su
![]() |
2010-12-23
, 18:48
|
Posts: 701 |
Thanked: 585 times |
Joined on Sep 2010
@ London, England
|
#18
|
sudo su - (trying to login as root)
it prompts me to enter the password (if i enter the same password abcde)
it throws an error :-
sorry, try again.
![]() |
2010-12-23
, 19:10
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#19
|
![]() |
2010-12-24
, 03:13
|
Posts: 21 |
Thanked: 0 times |
Joined on Nov 2010
@ india
|
#20
|
I see... I'm not sure this is something I would want to do, but the error message says that the 'su' binary isn't suid which can be solved by doing (as root - i.e. run 'sudo gainroot' or just 'root'):
Code:chmod u+s /bin/su
Otherwise all our phones would have been hacked to death by now (given that packages aren't updated/patched regularly and there is no local firewall)...
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...