Hi there,
I just installed a fresh new FreeBSD 10.1 (FreeBSD 10.1-RELEASE-p9) and set up a jail with ezjail (ezjail-admin v3.3).
Inside the jail I created a new user (with adduser):
Yet, as soon I try to change the user I have this error:
To clarify, /etc/shells contains sh (and others too).
Is the first time I see this behavior. I searched for similar issues but I didn't found nothing similar. And I have no ideas on how to fix this.
Please, someone has hints on how fix this? It's blocking the setup of some software inside the jail.
Thanks a lot for your support.
Regards,
Nicholas
I just installed a fresh new FreeBSD 10.1 (FreeBSD 10.1-RELEASE-p9) and set up a jail with ezjail (ezjail-admin v3.3).
Inside the jail I created a new user (with adduser):
Code:
Login: test
Password: *
Uid [#]: 1001
Gid [# or name]: 1001
Change [month day year]:
Expire [month day year]:
Class:
Home directory: /home/test
Shell: /bin/sh
Yet, as soon I try to change the user I have this error:
Code:
root@myjail:~ # su -l test
su: /bin/sh: Permission denied
To clarify, /etc/shells contains sh (and others too).
Is the first time I see this behavior. I searched for similar issues but I didn't found nothing similar. And I have no ideas on how to fix this.
Please, someone has hints on how fix this? It's blocking the setup of some software inside the jail.
Thanks a lot for your support.
Regards,
Nicholas