Date: Wed, 30 May 2001 11:28:27 +0400 From: "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua> To: "Lim Seng Chor" <Lim.Seng.Chor@sit.edu.my> Cc: <freebsd-questions@freebsd.org> Subject: Re: chroot socks Message-ID: <012701c0e8da$1e4f4540$6d36120a@comsys.ntukpi.kiev.ua> References: <3B14548E.8959.6EE2D2@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: Lim Seng Chor <Lim.Seng.Chor@sit.edu.my> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?012701c0e8da$1e4f4540$6d36120a>