Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 1996 08:23:58 +0100
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        julian@TFS.COM (Julian Elischer)
Cc:        hackers@freebsd.org
Subject:   Re: CHROOT changes to login. 
Message-ID:  <1206.823850638@critter.tfs.com>
In-Reply-To: Your message of "Thu, 08 Feb 1996 16:05:51 PST." <m0tkgLY-0003xJC@TFS.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Could we also add a bit of code such that if the logname entered isn't
> > in the primary /etc/passwd, but the special userid "*chroot" (or similar)
> > is, then the chroot /etc/passwd will be consulted ?
> > 
> > I would hate to have all the users in the primary /etc/passwd too.
> 
> not a bad idea, but if you ever type your name wrong, you've had it..

That is perfectly fine for me.

I see it as your "chroot" group mode is good for a few chrooted users.

My "unknown" mode is good for the majority of users being chrooted.

Having both is just added flexibility.

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1206.823850638>