From owner-freebsd-questions@FreeBSD.ORG Sun Feb 21 19:35:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A267106568D for ; Sun, 21 Feb 2010 19:35:44 +0000 (UTC) (envelope-from najk00@gmail.com) Received: from i8t.com (i8t.com [79.99.5.22]) by mx1.freebsd.org (Postfix) with ESMTP id 2319F8FC1C for ; Sun, 21 Feb 2010 19:35:43 +0000 (UTC) X-Virus-Scanned: by cgpav Received: from [90.227.182.14] (account najk@najk.com HELO [10.0.1.2]) by i8t.com (CommuniGate Pro SMTP 5.2.16) with ESMTPSA id 26652250 for freebsd-questions@freebsd.org; Sun, 21 Feb 2010 20:25:42 +0100 Message-Id: <8D5AAE1B-77B5-45EB-BC2C-0C788EB105A8@gmail.com> From: Niklas To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 21 Feb 2010 20:25:39 +0100 X-Mailer: Apple Mail (2.936) Subject: mlock within jail possible for use with proftpd and TLS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2010 19:35:44 -0000 Is it possible to make applications use mlock within jails? Im trying to use proftp with tls inside an jail. If i start it as root with proftpd -d 2, it complains about locking passphrase into memory: operation not permitted. error locking passphrase into memory: Operation not permitted Im using versions FreeBSD 8.0-RELEASE-p2 ProFTPD Version 1.3.2c - mod_tls/2.2.2 here are sysctls settings for jail related settings. security.jail.param.cpuset.id: 0 security.jail.param.host.hostid: 0 security.jail.param.host.hostuuid: 64 security.jail.param.host.domainname: 256 security.jail.param.host.hostname: 256 security.jail.param.children.max: 0 security.jail.param.children.cur: 0 security.jail.param.enforce_statfs: 0 security.jail.param.securelevel: 0 security.jail.param.path: 1024 security.jail.param.name: 256 security.jail.param.parent: 0 security.jail.param.jid: 0 security.jail.enforce_statfs: 2 security.jail.mount_allowed: 0 security.jail.chflags_allowed: 1 security.jail.allow_raw_sockets: 1 security.jail.sysvipc_allowed: 0 security.jail.socket_unixiproute_only: 1 security.jail.set_hostname_allowed: 1 security.jail.jail_max_af_ips: 255 security.jail.jailed: 1 Anyone got any tip? Niklas