Re: setuid question

2021-01-23 Thread David Christensen
On 2021-01-22 22:40, Gene Heskett wrote: On Saturday 23 January 2021 00:23:45 David Christensen wrote: But, building and installing Amanda from source is turning into a cluster f***. That's also why I drive the build with a script so it has a constant set of ./configure options, and adding a

Re: setuid question

2021-01-22 Thread Gene Heskett
On Saturday 23 January 2021 00:23:45 David Christensen wrote: > On 2021-01-22 15:35, David Christensen wrote: > > On 2021-01-22 15:29, Gene Heskett wrote: > >> Greeting all; > >> > >> I have a problem, using amanda, locally > >> built. /usr/local/libexec/amanda/ambind needs to be setuid, but > >>

Re: setuid question

2021-01-22 Thread Gene Heskett
On Saturday 23 January 2021 00:23:45 David Christensen wrote: > On 2021-01-22 15:35, David Christensen wrote: > > On 2021-01-22 15:29, Gene Heskett wrote: > >> Greeting all; > >> > >> I have a problem, using amanda, locally > >> built. /usr/local/libexec/amanda/ambind needs to be setuid, but > >>

Re: setuid question

2021-01-22 Thread David Christensen
On 2021-01-22 15:35, David Christensen wrote: On 2021-01-22 15:29, Gene Heskett wrote: Greeting all; I have a problem, using amanda, locally built. /usr/local/libexec/amanda/ambind needs to be setuid, but isn't. How or what do I do to fix it? How about chmod(1) as root? # chmod u+s /usr/loc

Re: setuid question

2021-01-22 Thread Gene Heskett
On Friday 22 January 2021 19:51:36 Larry Martell wrote: > On Fri, Jan 22, 2021 at 4:38 PM Gene Heskett wrote: > > On Friday 22 January 2021 18:36:29 Larry Martell wrote: > > > On Fri, Jan 22, 2021 at 3:29 PM Gene Heskett > > > > > > > wrote: > > > > Greeting all; > > > > > > > > I have a problem

Re: setuid question

2021-01-22 Thread Gene Heskett
On Friday 22 January 2021 19:19:12 The Wanderer wrote: > On 2021-01-22 at 19:09, Gene Heskett wrote: > > On Friday 22 January 2021 18:35:27 David Christensen wrote: > >> chmod u+s /usr/local/libexec/amanda/ambind > > > > root@coyote:amanda-3.5.1$ chmod u+s /usr/local/libexec/amanda/ambind > > roo

Re: setuid question

2021-01-22 Thread Larry Martell
On Fri, Jan 22, 2021 at 5:13 PM Gene Heskett wrote: > > On Friday 22 January 2021 19:17:13 Larry Martell wrote: > > > On Fri, Jan 22, 2021 at 4:09 PM Gene Heskett > wrote: > > > On Friday 22 January 2021 18:35:27 David Christensen wrote: > > > > chmod u+s /usr/local/libexec/amanda/ambind > > > >

Re: setuid question

2021-01-22 Thread Gene Heskett
On Friday 22 January 2021 19:17:13 Larry Martell wrote: > On Fri, Jan 22, 2021 at 4:09 PM Gene Heskett wrote: > > On Friday 22 January 2021 18:35:27 David Christensen wrote: > > > chmod u+s /usr/local/libexec/amanda/ambind > > > > root@coyote:amanda-3.5.1$ chmod u+s /usr/local/libexec/amanda/am

Re: setuid question

2021-01-22 Thread Larry Martell
On Fri, Jan 22, 2021 at 4:38 PM Gene Heskett wrote: > > On Friday 22 January 2021 18:36:29 Larry Martell wrote: > > > On Fri, Jan 22, 2021 at 3:29 PM Gene Heskett > wrote: > > > Greeting all; > > > > > > I have a problem, using amanda, locally > > > built. /usr/local/libexec/amanda/ambind needs t

Re: setuid question

2021-01-22 Thread Gene Heskett
On Friday 22 January 2021 18:36:29 Larry Martell wrote: > On Fri, Jan 22, 2021 at 3:29 PM Gene Heskett wrote: > > Greeting all; > > > > I have a problem, using amanda, locally > > built. /usr/local/libexec/amanda/ambind needs to be setuid, but > > isn't. > > > > How or what do I do to fix it? >

Re: setuid question

2021-01-22 Thread Charles Curley
On Fri, 22 Jan 2021 18:29:25 -0500 Gene Heskett wrote: > I have a problem, using amanda, locally > built. /usr/local/libexec/amanda/ambind needs to be setuid, but isn't. > > How or what do I do to fix it? To give you something to work from, here's what I see on a working amanda installation:

Re: setuid question

2021-01-22 Thread The Wanderer
On 2021-01-22 at 19:09, Gene Heskett wrote: > On Friday 22 January 2021 18:35:27 David Christensen wrote: > >> chmod u+s /usr/local/libexec/amanda/ambind > > root@coyote:amanda-3.5.1$ chmod u+s /usr/local/libexec/amanda/ambind > root@coyote:amanda-3.5.1$ su amanda -c "/usr/local/sbin/amcheck Da

Re: setuid question

2021-01-22 Thread Larry Martell
On Fri, Jan 22, 2021 at 4:09 PM Gene Heskett wrote: > > On Friday 22 January 2021 18:35:27 David Christensen wrote: > > > chmod u+s /usr/local/libexec/amanda/ambind > > root@coyote:amanda-3.5.1$ chmod u+s /usr/local/libexec/amanda/ambind > root@coyote:amanda-3.5.1$ su amanda -c "/usr/local/sbin/a

Re: setuid question

2021-01-22 Thread Gene Heskett
On Friday 22 January 2021 18:35:27 David Christensen wrote: > chmod u+s /usr/local/libexec/amanda/ambind root@coyote:amanda-3.5.1$ chmod u+s /usr/local/libexec/amanda/ambind root@coyote:amanda-3.5.1$ su amanda -c "/usr/local/sbin/amcheck Daily" Amanda Tape Server Host Check -

Re: setuid question

2021-01-22 Thread Larry Martell
On Fri, Jan 22, 2021 at 3:29 PM Gene Heskett wrote: > > Greeting all; > > I have a problem, using amanda, locally > built. /usr/local/libexec/amanda/ambind needs to be setuid, but isn't. > > How or what do I do to fix it? chmod u+s /usr/local/libexec/amanda/ambind

Re: setuid question

2021-01-22 Thread David Christensen
On 2021-01-22 15:29, Gene Heskett wrote: Greeting all; I have a problem, using amanda, locally built. /usr/local/libexec/amanda/ambind needs to be setuid, but isn't. How or what do I do to fix it? How about chmod(1) as root? # chmod u+s /usr/local/libexec/amanda/ambind David

setuid question

2021-01-22 Thread Gene Heskett
Greeting all; I have a problem, using amanda, locally built. /usr/local/libexec/amanda/ambind needs to be setuid, but isn't. How or what do I do to fix it? Thank you. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in t

Re: Basic setuid question

2008-09-12 Thread Scott Dunbar
I know, bad style replying to my own post but I figured out what was going on. At http://subversion.tigris.org/faq.html#hook-debugging there is a suggestion to run with an empty environment. The equivalent in my program was: execle("/usr/local/bin/svn", "svn", "update", argv[1], (const char

Basic setuid question

2008-09-12 Thread Scott Dunbar
Hi, I'm trying to implement the suggestions from http://subversion.tigris.org/faq.html#website-auto-update to allow me to update code via a web interface. My code is a bit different from the example as the example wasn't even trying to work. The code I'm using is below. However, it appears

Re: setuid question

2000-10-06 Thread Colin Watson
Johann Spies <[EMAIL PROTECTED]> wrote: >Can somebody explain to me what setuid does? > >I have installed Debian 2.2 and copied my old home(~) directory on to the >new installation. The difference between the old home and the new one >is > >old: drwxr-xr-x >new: drwxr-sr-x That isn't setuid, it'

setuid question

2000-10-06 Thread Johann Spies
Can somebody explain to me what setuid does? I have installed Debian 2.2 and copied my old home(~) directory on to the new installation. The difference between the old home and the new one is old: drwxr-xr-x new: drwxr-sr-x Now I can not as user run binaries situated in my own bin directory.