![]() |
2011-02-08
, 17:57
|
Posts: 1,463 |
Thanked: 1,916 times |
Joined on Feb 2008
@ Edmonton, AB
|
#2
|
![]() |
2011-02-08
, 18:00
|
Posts: 889 |
Thanked: 537 times |
Joined on Mar 2010
@ scotland
|
#3
|
![]() |
2011-02-08
, 18:09
|
|
Posts: 226 |
Thanked: 59 times |
Joined on Sep 2010
@ Mierlo, Netherlands
|
#4
|
![]() |
2011-02-08
, 18:11
|
Posts: 1,463 |
Thanked: 1,916 times |
Joined on Feb 2008
@ Edmonton, AB
|
#5
|
A note on sudo
This information is aimed at people who come to maemo from other linux distributions (Debian for example) that may have used sudo in a different way.
In fremantle (Maemo 5) sudo is a key part of the system. It is used by system processes that are started as the user to provide access (as root) when needed.
Examples of this are: Media Tracker. The firmware version on the 'Settings' > 'About Product' page.
Both of these will malfunction if there are problems with sudo.
Sudo relies on /etc/sudoers, a configuration file that details who can run what commands. /etc/sudoers is traditionally modified by using the 'visudo' command. DO NOT DO THIS ON MAEMO. In maemo sudoers is regenerated periodically from config snippets in /etc/sudoers.d/, using visudo can cause the slow death of your system as your edit gets pushed further down /etc/sudoers.
For those who don't know, /etc/sudoers works on a last match principle, so if your edit conflicts with entries above it, it will break those entries.
The 'correct' way to do this would be to put your entry in a file in /etc/sudoers.d/. I leave the detail of this up the experience of the end-user. Just be advised that using visudo runs the risk of subtly breaking your system.
Retrieved from "http://wiki.maemo.org/Root_access"
After these i am not able to login as root ..
ls -l shows following -r--r----- 1 root root .
Help me to login as root