Jails: /bin/tcsh: Permission Denied
glen.j.barber at gmail.com
Mon Oct 5 13:33:56 UTC 2009
On Mon, Oct 5, 2009 at 1:30 PM, APseudoUtopia <apseudoutopia at gmail.com> wrote:
> On Mon, Oct 5, 2009 at 9:28 AM, Glen Barber <glen.j.barber at gmail.com> wrote:
>> On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia <apseudoutopia at gmail.com> wrote:
>>> Sorry to reply again, but I have some further information.
>>> I used chpass to change the shell of the jailuser account. I tried
>>> /bin/sh, /bin/csh, /bin/tcsh, and /sbin/nologin. All of those gave the
>>> same "Permission denied" error. Even nologin gave "Permission denied"
>>> instead of "This account is currently not available."
>> What happens with /bin/false ?
>> Glen Barber
> Same thing:
> jailuser:*:1001:1001:User &:/home/jailuser:/bin/false
> # su jailuser
> su: /bin/false: Permission denied
Have you created another user to test?
FWIW, I was wrong about the location of 'false' - it is
/usr/bin/false, not /bin/false - you should have received 'command not
More information about the freebsd-questions