[Slackbuilds-users] Moving sbopkg to /usr/sbin and require root
mauro.giachero at gmail.com
Wed Feb 11 16:00:49 UTC 2009
On Wed, Feb 11, 2009 at 11:39 AM, Serban Udrea <
serban.udrea at skmail.ikp.physik.tu-darmstadt.de> wrote:
I dare to disagree with other posters.I actually do not understand why
> anything else but installing the final package needs root rights. I am
> (still) working on some packages I hope to submit soon and I do everything
> but package installation/removal as a normal user without problems. Thus I
> would actually drop root for anything but final installation/removal. In my
> opinion it is always good to use root rights as sparingly as possible.
> I do not know how big a problem is to change sbopkg, such that just the
> last step needs root rights, but I would say that a first change would be to
> have sbopkg default directories with access rights like /tmp.
There are two ways of thinking "user-mode" support:
- one is to allow normal users to do what a normal user can (like browsing
the package repository), but not allowing root-only operations (e.g.
removing some options from the menus) -- this is what we currently have in
- the other is to always show all the operations, asking the root password
for those which are admin-only -- this is what you're talking about.
The first option is something that clutters the code and brings very little
advantages, thus Chess' proposal to remove it.
Your approach would need to be implemented from scratch, as there's
currently nothing like that in sbopkg. That would require at least the usage
of fakeroot (which is unsupported by the SBo admins and therefore a possible
source of problems) and the admin should set up sudo and use directories
with proper access permissions (the security-aware defaults aren't likely to
This can happen at some point in the future. But don't expect it to happen
Thank you for daring to disagree!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SlackBuilds-users