Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 12:09:35 -0600 (CST)
From:      Licia <licia@o-o.org>
To:        freebsd-chat@freebsd.org
Subject:   new feature for login : simple chrooting, ready to test
Message-ID:  <Pine.BSF.4.05.9903101203190.14735-100000@o-o.org>

next in thread | raw e-mail | index | archive | help

I got the chroot option added to login, and it seems to work perfectly for me
here and at home.  I don't want to post it on my home site until it's been
tested a bit more though, so if anyone wants to help with this let me know
and I will email you a copy of the patch.  The patch is about 1.1k and only
adds about 250 bytes to the login.c code.

It converts group 80 to specify a user to be chrooted, and will use a
capability in their login class called chroot if it's specified, and their
home directory if it isn't. :)

     [ licia@o-o.org ] [ http://www.o-o.org/~licia/ ] [ Alias : Ladywolf]
     [ Telnet to o-o.org and log in as bbs ]    [ ssh -l bbs -C o-o.org ]
     [        A happy user of FreeBSD : http://www.freebsd.org/         ]

  main(){int num[4]={1768122732,762265697,1919889007,103};printf("%s\n",num);}



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?Pine.BSF.4.05.9903101203190.14735-100000>