Date: Mon, 25 Aug 2008 12:04:40 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Robe <vcrobe@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Help using setenv as a restricted user Message-ID: <20080825170440.GB26653@dan.emsphone.com> In-Reply-To: <221c791e0808250955k59559154pb1866ab771303f22@mail.gmail.com> References: <221c791e0808250918s19d782c1l565f066e778a55bf@mail.gmail.com> <20080825164127.GA26653@dan.emsphone.com> <221c791e0808250955k59559154pb1866ab771303f22@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[ added freebsd-questions back to CC list ] In the last episode (Aug 25), Robe said: > > Are you sure your non-root user is using tcsh? That error message looks > like it's coming from /bin/sh: > > You're right. I used *set* command in both sessions and I get the following > > for user root shell = "/bin/csh" > for user test shell = "/bin/sh" > > What the difference between these shells? Lots :) sh (Bourne shell) used to be used exclusively for scritping, and csh was used as the interactive shell, but sh has grown command-line editing features, and newer bourne-based shells like bash, ksh, and zsh have extended scripting and cli features. zsh has quite a few csh emulation options, if you want to use a bourne-based shell but still want to use csh features. > How I can use the same shell for user test? Take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080825170440.GB26653>