Re: Permission policy

2000-03-17 Thread Wichert Akkerman
Previously Ruud de Rooij wrote: > (of course, this attack can be prevented using mount options to > disable setgid executables on all filesystems where users have write > access) In which case they just keep a filehandle open and use that later on. You could also simply start a screen session whil

Re: Permission policy

2000-03-16 Thread Herbert Xu
Ruud de Rooij <[EMAIL PROTECTED]> wrote: > > (of course, this attack can be prevented using mount options to > disable setgid executables on all filesystems where users have write > access) But the user can still leave a process running with the privileges after he logs out. Now whenever he logs

Re: Permission policy

2000-03-16 Thread Michael Stone
On Thu, Mar 16, 2000 at 09:39:41PM +0100, Marco d'Itri wrote: > On Mar 16, Michael Stone <[EMAIL PROTECTED]> wrote: > >Which is a waste of effort if the user can create a sgid shell. > Do you really mount user-writeable directories without the "nosuid" > option? 1. Depends on the environment. Unf

Re: Permission policy

2000-03-16 Thread Marco d'Itri
On Mar 16, Michael Stone <[EMAIL PROTECTED]> wrote: >Which is a waste of effort if the user can create a sgid shell. Do you really mount user-writeable directories without the "nosuid" option? -- ciao, Marco

Re: Permission policy

2000-03-16 Thread Ruud de Rooij
Radovan Garabik <[EMAIL PROTECTED]> writes: > On Thu, Mar 16, 2000 at 01:43:22AM +0100, Bernd Eckenfels wrote: > > BTW: there is a idea for settig groups for console access to devices > > like cdrom, floppy, sound, mic, cam... so each user who logs into the > > sonsole will get added to that group

Re: Permission policy

2000-03-16 Thread Radovan Garabik
On Thu, Mar 16, 2000 at 01:43:22AM +0100, Bernd Eckenfels wrote: > On Wed, Mar 15, 2000 at 01:12:49PM +0100, Volker Ossenkopf wrote: ... > > BTW: there is a idea for settig groups for console access to devices > like cdrom, floppy, sound, mic, cam... so each user who logs into the > sonsole will

Re: Permission policy

2000-03-16 Thread Michael Stone
On Thu, Mar 16, 2000 at 01:43:22AM +0100, Bernd Eckenfels wrote: > BTW: there is a idea for settig groups for console access to devices > like cdrom, floppy, sound, mic, cam... so each user who logs into the > sonsole will get added to that groups, then your program does not need to be Which is a

Re: Permission policy

2000-03-16 Thread Bernd Eckenfels
On Wed, Mar 15, 2000 at 01:12:49PM +0100, Volker Ossenkopf wrote: > I need some advice to solve a recent bug report regarding a > frozen package. You could make it suid to a user who has 2 additional groups. In that case the program should reset its uid after the devices are open (same would be t

Re: Permission policy

2000-03-15 Thread Martin Waitz
hi, > The program needs rx-permissions for a device belonging to the > cdrom group and rw-permissions for a device belonging to the > audio group. > > Any ideas? users using your program and thus being able to access the sound / cdrom hardware should be in the cdrom+audio group for themself its

Permission policy

2000-03-15 Thread Volker Ossenkopf
I need some advice to solve a recent bug report regarding a frozen package. The program needs rx-permissions for a device belonging to the cdrom group and rw-permissions for a device belonging to the audio group. Until now the program is sgid cdrom to work correctly with the cdrom-device without