Help using setenv as a restricted user
Dan Nelson
dnelson at allantgroup.com
Mon Aug 25 16:41:31 UTC 2008
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 at allantgroup.com
More information about the freebsd-questions
mailing list