Re: chroot, su and sudo

2003-06-16 Thread Steve Johnson
Why not just use the start-stop-daemon prog that comes with debian? Using the --chuid and --chroot flags? I've used those to start MOHAA servers with no issues? Anyone else know if this way is actually secure? thanks, steve On Mon, 2003-06-16 at 03:22, Mario Ohnewald wrote: > Hello! > I want

Re: chroot, su and sudo

2003-06-16 Thread Steve Johnson
Why not just use the start-stop-daemon prog that comes with debian? Using the --chuid and --chroot flags? I've used those to start MOHAA servers with no issues? Anyone else know if this way is actually secure? thanks, steve On Mon, 2003-06-16 at 03:22, Mario Ohnewald wrote: > Hello! > I want

Re: chroot, su and sudo

2003-06-16 Thread Lars Ellenberg
On Mon, Jun 16, 2003 at 10:22:49AM +0200, Mario Ohnewald wrote: > I want to chroot a application/gameserver. I played with pam_chroot recently... unfortunately I found not much documentation about its intended usage. whether it realy suits my needs, I don't know yet. I'd like to read your comme

Re: chroot, su and sudo

2003-06-16 Thread Vincent Hanquez
On Mon, Jun 16, 2003 at 10:54:54AM +0200, Mario Ohnewald wrote: > Not even with sudo? Hmm, this way it will work -- Tab pgpNe4F7mIpKh.pgp Description: PGP signature

Re: chroot, su and sudo

2003-06-16 Thread Blars Blarson
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: >Hello! >I want to chroot a application/gameserver. > >What is the better/securest way? >1.) "Chroot /path" and then do a "su -s /bin/sh user -c start.sh" >or >2.) "su -s /bin/sh user" and then do the "chroot /path" as normal user and >exec

RE: chroot, su and sudo

2003-06-16 Thread Mario Ohnewald
Hi, >-Original Message- >From: Vincent Hanquez [mailto:[EMAIL PROTECTED] >Sent: Monday, June 16, 2003 10:46 AM >To: Mario Ohnewald >Cc: debian-security@lists.debian.org >Subject: Re: chroot, su and sudo > > >On Mon, Jun 16, 2003 at 10:22:49AM +0200, Mario Ohn

Re: chroot, su and sudo

2003-06-16 Thread Vincent Hanquez
On Mon, Jun 16, 2003 at 10:22:49AM +0200, Mario Ohnewald wrote: > Hello! > I want to chroot a application/gameserver. > > What is the better/securest way? > 1.) "Chroot /path" and then do a "su -s /bin/sh user -c start.sh" > or > 2.) "su -s /bin/sh user" and then do the "chroot /path" as normal u

Re: chroot, su and sudo

2003-06-16 Thread Lars Ellenberg
On Mon, Jun 16, 2003 at 10:22:49AM +0200, Mario Ohnewald wrote: > I want to chroot a application/gameserver. I played with pam_chroot recently... unfortunately I found not much documentation about its intended usage. whether it realy suits my needs, I don't know yet. I'd like to read your comme

Re: chroot, su and sudo

2003-06-16 Thread Vincent Hanquez
On Mon, Jun 16, 2003 at 10:54:54AM +0200, Mario Ohnewald wrote: > Not even with sudo? Hmm, this way it will work -- Tab pgp0.pgp Description: PGP signature

Re: chroot, su and sudo

2003-06-16 Thread Blars Blarson
In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: >Hello! >I want to chroot a application/gameserver. > >What is the better/securest way? >1.) "Chroot /path" and then do a "su -s /bin/sh user -c start.sh" >or >2.) "su -s /bin/sh user" and then do the "chroot /path" as normal user and >exec

RE: chroot, su and sudo

2003-06-16 Thread Mario Ohnewald
Hi, >-Original Message- >From: Vincent Hanquez [mailto:[EMAIL PROTECTED] >Sent: Monday, June 16, 2003 10:46 AM >To: Mario Ohnewald >Cc: [EMAIL PROTECTED] >Subject: Re: chroot, su and sudo > > >On Mon, Jun 16, 2003 at 10:22:49AM +0200, Mario Ohnewald wrote: >

Re: chroot, su and sudo

2003-06-16 Thread Vincent Hanquez
On Mon, Jun 16, 2003 at 10:22:49AM +0200, Mario Ohnewald wrote: > Hello! > I want to chroot a application/gameserver. > > What is the better/securest way? > 1.) "Chroot /path" and then do a "su -s /bin/sh user -c start.sh" > or > 2.) "su -s /bin/sh user" and then do the "chroot /path" as normal u