Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2009 13:33:54 +0000
From:      Glen Barber <glen.j.barber@gmail.com>
To:        APseudoUtopia <apseudoutopia@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Jails: /bin/tcsh: Permission Denied
Message-ID:  <4ad871310910050633n16bd69c1oa523add59b3468c3@mail.gmail.com>
In-Reply-To: <27ade5280910050630r47a34e5bteea1df81b44e0457@mail.gmail.com>
References:  <27ade5280910050108w212a8d85h6071b5211f19425f@mail.gmail.com> <200910050951.n959pkRA059227@lurza.secnetix.de> <27ade5280910050619v6bd48173sb5099ba79c5ca1d3@mail.gmail.com> <27ade5280910050624w366d05f1yf9db6158db626ba3@mail.gmail.com> <4ad871310910050628v642e4fd9wf6f8a983559b67bc@mail.gmail.com> <27ade5280910050630r47a34e5bteea1df81b44e0457@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 5, 2009 at 1:30 PM, APseudoUtopia <apseudoutopia@gmail.com> wrote:
> On Mon, Oct 5, 2009 at 9:28 AM, Glen Barber <glen.j.barber@gmail.com> wrote:
>> On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia <apseudoutopia@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
>

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
found'.

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310910050633n16bd69c1oa523add59b3468c3>