Reply
Thread Tools
Posts: 67 | Thanked: 32 times | Joined on Oct 2011
#61
Could wise people prepare here whole list of packages which shouldn't be optified because it will brick the device? It would be appreciated. Yes optyfing packages that nokia wanted to lay on rootfs may seem at least a bit crazy, but there are some reasons for people to want to do it. Since optyfing some of them bricks the device for whatever reason (mostly the technicalies of boot process), it seems scary to optify ones which not brick the device because beeing optified. We shouldn't have to be scary to do things that are safe (the point is the things are safe but we don't know which ones are safe, so it makes us scary to do the thing which are safe but we aren't sure that they are).
 

The Following 2 Users Say Thank You to majaczek For This Useful Post:
Posts: 11 | Thanked: 16 times | Joined on Jun 2015
#62
Bump.
10 chars
 

The Following User Says Thank You to Twilight For This Useful Post:
Posts: 11 | Thanked: 7 times | Joined on Jul 2015
#63
Good evening,
at the end I found the solution...

you have to edit it via VI by changing the sudoers file as with the latest build you cannot use anymore that tool and root is not in the sudoers file.


The steps to do are that:
-) Open the X-Terminal
-) Edit the sudoers file with the command vi /etc/sudoers
-) Add at the end the following line: root ALL = NOPASSWD: ALL

Save and Quit.

To Edit in Vi type the char "i"
When done use the ESC key for the command mode then type :w (ENTER) to save and :q (ENTER) to quit.


That's all :P
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#64
What on earth are you talking about? What solution? To what problem? On what device?

If you are talking about Maemo, then all you need to know about the root access has already been described. Install rootsh and type 'sudo gainroot' or just simply 'root' in the terminal. That's it. I've had my N900 for 3 years and have never touched the sudoers file. Ever.
 

The Following 4 Users Say Thank You to pichlo For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#65
Originally Posted by pichlo View Post
I've had my N900 for 3 years and have never touched the sudoers file. Ever.
Right. Plus you don't edit /etc/sudoers, you use visudo.
And maemo has the sudoers.d directory even better management of the sudoers file.
 

The Following 3 Users Say Thank You to reinob For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#66
Yep,
that post made as much sense as this one.

@reinob
But what 'visudo' are you talking about?
Never used that on N900 (only ubuntu systems ).
And now when I run visudo I get:
visudo: no editor found (editor path=/bin/vi)
but vi is in /usr/bin/vi ?

p.s.: lived well with sudoers.d and update-sudoers
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 11 | Thanked: 7 times | Joined on Jul 2015
#67
Originally Posted by pichlo View Post
What on earth are you talking about? What solution? To what problem? On what device?

If you are talking about Maemo, then all you need to know about the root access has already been described. Install rootsh and type 'sudo gainroot' or just simply 'root' in the terminal. That's it. I've had my N900 for 3 years and have never touched the sudoers file. Ever.
Dear pichio,
it's about that: http://talk.maemo.org/showpost.php?p...2&postcount=15


Regards.
 
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#68
And maybe you read the answers over there?
http://talk.maemo.org/showpost.php?p...2&postcount=16
http://talk.maemo.org/showpost.php?p...6&postcount=17

And yes, he read that as well.

And another one: we are all easy.

--edit: you edited your post (fast enough)

But posting something that nobody can interprete will not receive an answer by anybody. (@pichlo )

So please try to rephrase what all this is about. And we are going to help...
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2015-07-24 at 20:33. Reason: edit to your edit
 

The Following User Says Thank You to peterleinchen For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#69
Originally Posted by sev7en View Post
Dear pichio,
it's about that: http://talk.maemo.org/showpost.php?p...2&postcount=15.
That post is in an entirely different thread. As peterleinchen correctly points out, I have seen it. And the answers. But tell me, will Joe Bloggs who comes to this forum next week and finds your post know which crystal ball to look into to understand what you are on about?

Not to mention that the post you've so proudly linked is just as incoherent and has been given at least two correct answers.
 
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#70
The last few posts (and this one) are well off topic. It looks like sev7en posted in the wrong thread. Can someone with mod privileges tidy this up please?

Originally Posted by peterleinchen View Post
But what 'visudo' are you talking about?
Never used that on N900 (only ubuntu systems ).
And now when I run visudo I get:
visudo: no editor found (editor path=/bin/vi)
but vi is in /usr/bin/vi ?
Try exporting EDITOR=/usr/bin/vi or set it to the editor of your choice.

This probably ought to be fixed in CSSU as the default editor should really point to something that actually exists!

Having said all of that, if I recall correctly, isn't there a Fremantle quirk where /etc/sudoers gets overwritten on every reboot?

...and having said that too , the default editor still ought to be fixed as it's used by many applications, not just visudo.

EDIT: I've just realised that other applications actually correctly invoke /usr/bin/vi as the editor when EDITOR is not set so it looks like this is actually a visudo bug.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer

Last edited by wicket; 2015-07-25 at 04:55.
 

The Following 2 Users Say Thank You to wicket For This Useful Post:
Reply

Tags
n800, n810, n900, optification, optifying, rootfs


 
Forum Jump


All times are GMT. The time now is 15:56.