From owner-freebsd-questions Wed May 30 1:36:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id 3A32137B422 for ; Wed, 30 May 2001 01:36:43 -0700 (PDT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 564332F67C; Wed, 30 May 2001 11:36:27 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.3/8.11.3) with SMTP id f4U8UmP11123; Wed, 30 May 2001 11:30:48 +0300 (EEST) Message-ID: <012701c0e8da$1e4f4540$6d36120a@comsys.ntukpi.kiev.ua> From: "Andrey Simonenko" To: "Lim Seng Chor" Cc: References: <3B14548E.8959.6EE2D2@localhost> Subject: Re: chroot socks Date: Wed, 30 May 2001 11:28:27 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: Lim Seng Chor Newsgroups: lucky.freebsd.questions Sent: Tuesday, May 29, 2001 9:59 PM Subject: chroot socks > i am running nec socks5 on my freebsd box. > i want to do a chroot on running socks5, and switch to use nobody > as its uid. > anyone can teach me how to use 'chroot' command? > and, i tried to do su nobody -c socks5 > > but failed to do so because nobody is using /sbin/nologin as its > shell, so i cannot invoke that command. > if let say, i dont want to modify my passwd file, is there any > alternatives? > # su -m nobody -c /path/to/socks5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message