On Mon, Oct 5, 2009 at 1:30 PM, APseudoUtopia <apseudouto...@gmail.com> wrote: > On Mon, Oct 5, 2009 at 9:28 AM, Glen Barber <glen.j.bar...@gmail.com> wrote: >> On Mon, Oct 5, 2009 at 1:24 PM, APseudoUtopia <apseudouto...@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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"