![]() |
dpkg error: community-ssu-enabler
I get a dpkg error every time i try to do an apt-get update. Something is stopping community-ssu-enabler from being configured properly...
Code:
Reading state information... Done Code:
~ $ sudo cat /etc/sudoers Code:
~ $ cat /etc/sudoers.d/everybody.sudoers Thanks :) |
Re: dpkg error: community-ssu-enabler
Apparently you missed the target executable(s):
Quote:
Just comment out this line where there is this line with NOPASSWD. |
Re: dpkg error: community-ssu-enabler
Quote:
I cannot (at least right now) look at the cssu-enabler postint because I didn't install that package (even though I do have CSSU thumb installed). |
Re: dpkg error: community-ssu-enabler
Thanks guys. Can i ask how you have configured root access on your devices? I don't like the idea of root access withougt a pw.
EDIT: purging sudser removed that file. |
Re: dpkg error: community-ssu-enabler
Quote:
Note that you cannot use "su" because it's not suid, and you cannot make su suid because su is actually a link to busybox and *you don't want to make busybox suid*. BTW you have "user ALL=(ALL) NOPASSWD: ALL" in your /etc/sudoers immediately after the last line coming from 01sudo. Would you mind showing a listing of your /etc/sudoers.d/* That line (which I don't have) conflicts with "user ALL=(ALL) PASSWD:" (which as peterleinchen said should be "user ALL=(ALL) PASSWORD: ALL" but I don't speak sudoer! I just looked in "update-sudoers" and it used "visudo -c" to check the file (this is what caused dpkg to fail in your case). So I'd suggest you run, manually, "update-sudoers" and see what it spits. |
Re: dpkg error: community-ssu-enabler
Changes in 01sudo:
Quote:
@reinob To the life definitely not. But in principle you are right. :D Had it 2 years your way and now 2-3 years my way ;) |
Re: dpkg error: community-ssu-enabler
So i reinstalled sudser to see what would happen, it installed successfully and said to run sudser if i wanted to set a pw. I exited the root shell and ran the command, here's the output:
Code:
~ $ sudser here's my list of additional sudoers config files: Code:
~ $ ls /etc/sudoers.d Thanks for your help. The N900 is fun! |
Re: dpkg error: community-ssu-enabler
Quote:
Code:
user ALL=(ALL) PASSWD: $shells Problem is that (1) doesn't quite make sense, and (2) you don't have that file. I happen to have that file because screen and tmux put themselves there. Normally /bin/sh should be there (you can add it there). In any case this tells us that: (1) sudser is buggy and unsupported (2) you have to fix this yourself (3) the sudo-situation in Maemo is horrible, only on-par with the dependency hell we have. If Maemo didn't brick whenever you *think* about modifying a critical file I would propose replacing "update-sudoers" by a dummy and keeping a user-controlled list that nobody can update. As we have it now (answering your security concern) every "app" can (1) do rm -rf / on postinst before you can say "huh?" and (2) add a file to /etc/sudoers.d to give itself root rights (many apps do this, and it doesn't seem to be considered unpolite by the people here :) I think there's been already at least one thread or sub-thread dealing (= talking about, not solving) with the sudo issue. This is our own version of the "elephant in the room", but we just love our elephant the way it is. So not only do you have to keep the N900 close to your heart, but you also have to be (100-N)% sure and N% naively-trusting about what you install. |
Re: dpkg error: community-ssu-enabler
I have /etc/shells, too.
Content: /bin/sh /bin/bash4 Still stock Maemo, so maybe cssu removed it? Nevertheless remove suder, it is not needed. rootsh is enough run passwd (maybe package passwd is needed or bb-power is enough) after getting root (sudo gainroot), set a pass for root, take my changes above and you are good to go ... |
Re: dpkg error: community-ssu-enabler
Thanks guys, i think i'll go for the "set a root pw and remove sudser" method. It'll take a while to kill the "sudo" reflex!
Quote:
|
All times are GMT. The time now is 00:28. |
vBulletin® Version 3.8.8