Active Topics

 


Reply
Thread Tools
Posts: 35 | Thanked: 5 times | Joined on Mar 2009
#1
Hi this shows me in terminal when I wanto: sudo gainroot. Can you help me what to do? I tryed restore to default factory setting, without success.
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#2
It can be tricky, because you have to be root to change permissions to that file:
# chmod 0440 /etc/sudoers

Maybe try to remove rootsh package with application manager and then re-install it.

Last edited by zimon; 2010-12-22 at 15:45. Reason: s/044/0440/
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#3
ssh root@localhost
Enter your root password.
chmod 0440 /etc/sudoers
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 35 | Thanked: 5 times | Joined on Mar 2009
#4
ssh shows connection refused. And in app manager it shows me no applications installed.
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#5
reflash it. There's no way you could go into root when sudoers file is not working. Or if luck is in you try restarting and pray that the device autogenerates the sudoers file.
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#6
Do you have openssh-server and rootsh packages installed at all maybe?
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:03.