maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   /etc/sudoers is mode 0770 should be 0440 (https://talk.maemo.org/showthread.php?t=67311)

rado3105 2010-12-22 15:37

/etc/sudoers is mode 0770 should be 0440
 
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.

zimon 2010-12-22 15:40

Re: /etc/sudoers is mode 0770 should be 0440
 
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.

MohammadAG 2010-12-22 15:41

Re: /etc/sudoers is mode 0770 should be 0440
 
ssh root@localhost
Enter your root password.
chmod 0440 /etc/sudoers

rado3105 2010-12-22 15:47

Re: /etc/sudoers is mode 0770 should be 0440
 
ssh shows connection refused. And in app manager it shows me no applications installed.

Radicalz38 2010-12-22 16:19

Re: /etc/sudoers is mode 0770 should be 0440
 
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.

zimon 2010-12-22 16:27

Re: /etc/sudoers is mode 0770 should be 0440
 
Do you have openssh-server and rootsh packages installed at all maybe?


All times are GMT. The time now is 12:17.

vBulletin® Version 3.8.8