Closed Thread
Thread Tools
Posts: 256 | Thanked: 98 times | Joined on Jan 2010
#21
can anyone just clarify what the root password on the n900 is

sometimes the command sudo gainroot will enable the shell othertimes it asks me for a password which i have never set

from reading the forums and wiki entrys i sort of found it could be either

rootme
passwd

is any of them correct it would be really handy to know as sometimes it wont let me enable shell unless i enter a password

thanks and sorry to bump an old thread like this just thought it better then startinga new one
 
Posts: 1 | Thanked: 0 times | Joined on Mar 2010
#22
I would need it too. I would appreciate a lot if someone could answer Thank you
 
Posts: 169 | Thanked: 41 times | Joined on Apr 2010 @ Portugal
#23
I've just re-flashed my N900.
I've seen the wiki: http://wiki.maemo.org/Root_access
I've already instaled roothsh.

My problem is:
Before reflash, i easly can do:
sudo echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

now, it says access denyed.

If i do: sudo /usr/sbin/kernel-load
It prompt for password :S help please
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#24
try sudo gainroot
 
Posts: 169 | Thanked: 41 times | Joined on Apr 2010 @ Portugal
#25
sudo gainroot works, thats not the problem.
If anyone try : sudo echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
you'll sucessefull do it ! i cant do it ..
What is wrong with this device ..i've only reflashed it..my god : C
 
Posts: 36 | Thanked: 13 times | Joined on Dec 2009 @ Bandung, Indonesia
#26
Originally Posted by nokian-series View Post
Before reflash, i easly can do:
sudo echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
I don't think you could do that even before reflash.

Your command will run echo as root, but then pipe to a privileged file *without* root privileges.

For example, the following code rightly fails on my Ubuntu system (and on any Linux system):

Code:
$ sudo echo a > /hello
bash: /hello: Permission denied
What you should do is like this:

Code:
echo 900000 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
(but you have to get sudo working correctly first)
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2010
#27
When I run su - to login as root, it gives me the error "su: must be suid to work properly." I then changed permissions for busybox: chmod 4755 /bin/busybox. Now I am able to run the su command. My question is, for the n900/maemo platform, what will changing the permissions to busybox (as I did) affect or impact?
 
Posts: 26 | Thanked: 2 times | Joined on Apr 2010
#28
this is going to sound like the most ignorant quesion ever but I have to ask. What are the advantages on becoming "root" on the N900? I'm obviously a noob and would understand if my account is banned because of this post lol
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#29
Originally Posted by nokiaboy97 View Post
this is going to sound like the most ignorant quesion ever but I have to ask. What are the advantages on becoming "root" on the N900? I'm obviously a noob and would understand if my account is banned because of this post lol
Without "root" privileges you can't edit or change files outside your "/home" folder. For a normal user that is no problem.. but if you want to do the cool stuff then you need root. The n900 is really not the same without rootsh.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#30
Originally Posted by nokian-series View Post
sudo gainroot works, thats not the problem.
If anyone try : sudo echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
you'll sucessefull do it ! i cant do it ..
What is wrong with this device ..i've only reflashed it..my god : C
It's nothing wrong with the device.. it acts as it should. You need to edit your sudoers file to allow sudo with NOPASSWD. If you do not then sudo will give you a password.

Serach and you will find how to do it.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Closed Thread

Thread Tools

 
Forum Jump


All times are GMT. The time now is 05:00.