View Single Post
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#3048
Originally Posted by nokian-series View Post
Hi all,
Just need some help.
I have re-flashed my N900.
Before, i can easly run a command like:
sudo echo 900000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq\echo
or
sudo <whatever>

Now, it just say me, permission denied or prompt for password.
Of course i've already instaled rootsh (i know i can run 'sudo gainroot', but before, i dont need to )

I've read "http://wiki.maemo.org/Root_access" but nothing help :S

Please, i've a lot of scripts with 'sudo <command' that are not working now, because of that i've tell

Please help me

Create a file /etc/sudoers.d/99all.sudoers containing:

user ALL = PASSWORD: ALL

And run the command update-sudoers. Be aware that a mistake in a sudoers file might render your system unbootable, requiring a filesystem reflash.

I have a file chroot.sudoers contatining this line, so it is possible that easy-chroot package provides this already.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.