Date: Mon, 25 Aug 2008 11:41:27 -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: <20080825164127.GA26653@dan.emsphone.com> In-Reply-To: <221c791e0808250918s19d782c1l565f066e778a55bf@mail.gmail.com> References: <221c791e0808250918s19d782c1l565f066e778a55bf@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 25), Robe said:
> I'm trying to use *setenv* command as a non-root user. But I get the
> following error "setenv: not found". However when I do the same as
> root it works well.
>
> I'm using tcsh and FreeBSD 7.0
>
> There's a way to use it as a restricted user? I mean avoiding the su
> command and so on.
Are you sure your non-root user is using tcsh? That error message
looks like it's coming from /bin/sh:
$ tcsh
dan: {3035} asddsa
asddsa: Command not found.
dan: {3036} sh
$ asddsa
asddsa: not found
$
--
Dan Nelson
dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080825164127.GA26653>
