Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 02:01:52 +0800
From:      "Lim Seng Chor" <Lim.Seng.Chor@sit.edu.my>
To:        questions@FreeBSD.ORG
Subject:   chroot socks
Message-ID:  <3B14548E.8959.6EE2D2@localhost>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B14548E.8959.6EE2D2>