From owner-freebsd-isp Thu Oct 23 03:15:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16746 for isp-outgoing; Thu, 23 Oct 1997 03:15:53 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA16726; Thu, 23 Oct 1997 03:15:45 -0700 (PDT) (envelope-from danny@panda.hilink.com.au) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id UAA14008; Thu, 23 Oct 1997 20:13:15 +1000 (EST) Date: Thu, 23 Oct 1997 20:13:15 +1000 (EST) From: "Daniel O'Callaghan" To: Don Lewis cc: "George M. Ellenburg" , Charles Mott , freebsd-hackers@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG Subject: Re: Password files and virtual IP addresses In-Reply-To: <199710230919.CAA13620@salsa.gv.tsc.tdk.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 23 Oct 1997, Don Lewis wrote: > On Oct 23, 9:44am, "Daniel O'Callaghan" wrote: > } Subject: Re: Password files and virtual IP addresses > > } Even if the uid is the same from one vm to another, how > } much does it matter? > > How do you keep users with the same uid's in different vm's from killing > each others processes? What about ps? > Ah, that's a good point. I had not thought of it because I don't put ps or kill in the vm. But anyway, I allocate users within each vm and give them a disabled entry in the main password file, with the same uid used in the main passwd file and the vm passwd file. That way I get sensible information when I do an ls. The vm users don't get root access within their own vm. /* Daniel O'Callaghan */ /* HiLink Internet danny@hilink.com.au */ /* FreeBSD - works hard, plays hard... danny@freebsd.org */