Details
-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Low
-
Resolution: Complete
-
Affects Version/s: 12.0-RELEASE
-
Fix Version/s: SCALE-20.12-ALPHA, 12.0-U1
-
Component/s: API, Middleware
-
Labels:
Description
Hi, using the same exact code which worked fine in FN 11 after upgrading to TrueNAS core user creation fails and returns this:
["user_create.shell"]=>
array(1) {
[0]=>
array(2) {
["message"]=>
string(28) "Please select a valid shell."
["errno"]=>
int(22)
}
}
So, okay thats weird because it worked fine previously...
So when I tried to curl /api/v2.0/user/shell_choices to figure out what it wants since it no longer wants "/sbin/nologin" like it did 20 minutes ago before I upgraded.
So this:
[user@nessie nas]# curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic root:pass" "http://10.0.0.18/api/v2.0/user/shell_choices"
500 Internal Server Error