Jails: /bin/tcsh: Permission Denied

APseudoUtopia apseudoutopia at gmail.com
Mon Oct 5 13:30:27 UTC 2009


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:
>
> [snip]
>
>>
>> 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


More information about the freebsd-questions mailing list