Date: Sun, 21 Dec 1997 21:05:55 +0000 From: Brian Somers <brian@awfulhak.org> To: "Francisco Reyes" <reyesf@super.zippo.com> Cc: "FreeBSD questions" <questions@freebsd.org> Subject: Re: How to send parameter to shell at user login? Message-ID: <199712212105.VAA24670@awfulhak.demon.co.uk> In-Reply-To: Your message of "Sun, 21 Dec 1997 14:07:21 -0400." <199712211916.LAA13846@super.zippo.com>
index | next in thread | previous in thread | raw e-mail
> I would like to create a user with a restricted shell. Bash allows
> this by sending a parameter to the shell. I tried going into vipw and
> adding a parameter to the shell, but it did not recognised it.
>
> Do I need to create a shell script that calls bash with the
> parameter? Any other way to send a parameter to a shell for a user?
Nope. That's the only way. You can also sym-link bash to rbash and
run the rbash version.
--
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
<http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour....
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712212105.VAA24670>
