Re: Compile as user

"Lucas C. Villa Real" <[email protected]>
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAAvzgta+mHL7bxBaN0H89rKesajh_asYOx9h4F6P14LCrJf9Cg@mail.gmail.com>
On Mon, Jul 4, 2016 at 12:42 PM, Hugo Barrocas <[email protected]> wrote:
> Hello all,
>
> I'm having a bit of an inconvenient while compiling programs as user
> (just typing Compile 'program' and then Gobo asks for the pass),
> because at the end of compiling, it asks for the password again.
>
> Now the problem is that I leave it compiling and go do something else,
> so when I get to the Terminology window again, it has asked for the
> pass more than three times, and even if I insert it, it fails,
> complaining:
>
> UnionSandbox: Unable to mount writable areas in chroot
>
> And this just sucks :p
>
> Sometimes this happens after several minutes or even hours... and then
> I have to Compile again and keep on watching it?
>
> Previous Gobo 014 didn't do this, it would execute the given command
> until it ended.
>
> I'd like to keep on compiling programs as a user, both for testing and
> also because I had some problems with file permissions (root access
> only) after some instalations.
>
> Is there some fix to make it Compile until it's done?
> So that it would not interrupt the given command, and not asking for
> the password again near the end of compiling?
>

Hi, Hugo

I think that in the past we had a different "sudoers" settings. As a
workaround, try this:

- run "visudo" as root
- edit the line that starts with your username so that it reads like
(assuming your username is "hugo"):
hugo ALL=(ALL) NOPASSWD: ALL

This should give you power to run "sudo" commands without being
prompted for a password. The best approach to fix that would be to
configure your ssh-agent, though.

Lucas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.