Hi,

I'm going through some annoyances in my brand new Gobo 015
installation that are related to the handling of sudo in our Scripts.

The symptom is that some Gobo scripts fail halfway through with
permission errors when run with `sudo`, but they work if I use `su`
and run them as root proper.

I haven't diagnosed the whole thing in full yet, but it's not the
first time I have this kind of problem. This got me thinking...

...is the whole dance with Verify_Superuser and Release_Superuser
worth the effort, just to save us from typing `sudo` in things that
are really administrative tasks?

I was thinking of just stripping this whole thing away. The scripts
are basically already designed to run without it (because of rootless
mode) so I think it would just make things simpler and more reliable.

As for concerns that were raised in the past tha Compile should not
build things running as root, then maybe what we need is a `builder`
user and use that instead when building (like we use `fibo` to
install). Also, it's probably wiser not to let the build run with our
own regular user anyway!

Last but not the least, I propose this guy as the mascot for the builder user:
http://hisham.hm/fun/gobo/57/index.html

Cheers,

-- Hisham
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to