Active Topics

 


Reply
Thread Tools
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#11
Dunno myself. Do you mind filing a specific enhancement request at http://bugs.maemo.org so you get hopefully there the answers from the guys in the know?

Thanks!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#12
I think it would be better to make sudo work like in Ubuntu.

However... since it doesn't, here's what I do:

Currently, I just drop a small file ("gainroot.sudoers") into /etc/sudoers.d/ with the following line:
Code:
user ALL = NOPASSWD: ALL
Then I issue "update-sudoers".

Of course, this has to be done as root The first time, I just
Code:
ssh root@localhost
Once this file is in place, you just add "sudo" in front of your root command, or "sudo su -" gives you a root prompt.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#13
Or you could install sudser from extras which does the same
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#14
As pointed out there are lots of workarounds for this problem (I usually just end up ssh'ing to 127.0.0.1 to comment out the R&D if statement from gainroot), but the point is that it shouldn't be necessary; after all root access has many important uses and shouldn't require an external application to enable. It's a tiny thing to fix from the maemo side of things, but would certainly remove a lot of headaches. I've opened a feature request in bugzilla, so please don't pass on voting it up:
https://bugs.maemo.org/show_bug.cgi?id=4008
 

The Following 2 Users Say Thank You to jolouis For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#15
Voted!

As I said before, I like how Ubuntu does it. I'd like to see a setup screen asking for the user's login name and password, and then you can use your user password when issuing root commands with "sudo".

Maemo is definitely past the point where it should be using a generic "user" for the user name.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

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

Tags
fremantle, maemo5, n900


 
Forum Jump


All times are GMT. The time now is 18:55.