On Wed, Jan 28, 2009 at 2:44 AM, Lars Noodin <larsnoo...@openoffice.org>
wrote:
> I have a bunch of processes that I wish to kill, but which have the same
> name and owner as process I wish to leave running.
> ps, pgrep and pkill can select based on a process' gid or egid.
>
> How can gid or egid be set when starting a process from shell?

The command you're looking for is 'newgrp'...which OpenBSD doesn't
currently have.  sudo is probably the most direct workaround for now.


Philip Guenther

Reply via email to