Date: Thu, 5 Sep 2002 10:14:27 +0530 From: "Unix Tools" <unixtools@hotmail.com> To: "Radko Keves" <rado@studnet.sk>, <questions@FreeBSD.org> Subject: Re: restricted shell Message-ID: <OE45SmIdFCZrBco0e6w00005370@hotmail.com> References: <20020903155040.GA66479@studnet.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
create a special bin directory /usr/rbin and put only important binaries in the /usr/rbin directory, and then only this directory should be in the users' path I have done this before ----- Original Message ----- From: "Radko Keves" <rado@studnet.sk> To: <questions@FreeBSD.org> Sent: Tuesday, September 03, 2002 09:20 PM Subject: restricted shell > hi all i have question about restricted shell (for example rbash) > SHELL enviroment is read only, but user can run another shell if is in PATH, can i disallow changing shell? > i don't want get out all shells of PATH (because there is a problem with . option in path and users own programs) > > thank and bye > -- > 17:35 up 49 mins, 13 users, load averages: 4,01 3,79 3,27 > -- > FreeBSD 5.0-CURRENT #12: root@kripel:/usr/src/sys/i386/compile/angel > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?OE45SmIdFCZrBco0e6w00005370>