From owner-freebsd-questions Tue May 29 10:59:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from saturn.sit.edu.my (saturn.sit.edu.my [202.184.64.24]) by hub.freebsd.org (Postfix) with ESMTP id 3048837B423 for ; Tue, 29 May 2001 10:59:09 -0700 (PDT) (envelope-from Lim.Seng.Chor@sit.edu.my) Received: from LION (pmail.sit.edu.my [202.184.64.6]) by saturn.sit.edu.my (8.11.4/8.11.3) with ESMTP id f4TI54W05890 for ; Wed, 30 May 2001 02:05:05 +0800 Received: from LION/SpoolDir by LION (Mercury 1.47); 30 May 01 02:02:06 +0800 Received: from SpoolDir by LION (Mercury 1.47); 30 May 01 02:02:00 +0800 From: "Lim Seng Chor" Organization: Sepang Institute of Technology To: questions@FreeBSD.ORG Date: Wed, 30 May 2001 02:01:52 +0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: chroot socks Message-ID: <3B14548E.8959.6EE2D2@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) 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 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? Thank you folks! : ) ---------------------------------------------------------- Lim Seng Chor, Joe MCP,MCP+I,MCSE,MCSE+I,MCDBA,CCNA MIS Senior Executive System/Network Administrator Sepang Institute of Technology Tel: (+603) 33430628 (extension: 270) Fax: (+603) 33430240 ----------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message