Date: Sat, 13 Mar 1999 21:03:26 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: licia@o-o.org (Licia) Cc: tlambert@primenet.com, freebsd-chat@FreeBSD.ORG, fad@o-o.org Subject: Re: added chroot to /usr/bin/login Message-ID: <199903132103.OAA19502@usr09.primenet.com> In-Reply-To: <Pine.BSF.4.05.9903122051360.25737-100000@o-o.org> from "Licia" at Mar 12, 99 08:54:17 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Thanks to welcome feedback, I've modified the patches :) no more login group. > It's all completely based on /etc/login.conf classes now. If there is a > capability called chroot, the value for it is used as the path to chroot to, > if there isn't, no chrooting... if there's interest I can add the ~ type > expansions to allow a single class to be used for multiple users to be > chrooted to their homedirs (trivial hack :) ) and this will easily allow > shared chroot environments, although the previous version did too :) If it's a path type object, the ~ and $ stuff are already in there, so if you want to use literal values, you have to escape them (\~), per the login.conf man page. Anyway, I think that this probably represents the first useful thing that login.conf has ever done for anyone (besides killing their process, running them out of file descriptors, and, in general, not supporting the SEcureCard stuff. 8-)). Good job! I think this stuff should be committed, post-haste! Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903132103.OAA19502>