These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Failed to save custom shells on the new forum.
Hello.
I'm getting the error: "Failed to save custom shells" when I am modifying them.
I checked "Custom shells below .." and selected just "/bin/false" for Admin and Default and just "/dev/null" for Mailbox.
Am I doing something wrong?
Thanks.
Howdy,
Is there any kind of additional error your seeing aside from just "Failed to save"? Is there anything showing up in the log file, over in /var/webmin/error.log?
Thanks,
-Eric
Hi Eric.
These are the only errors in the error log. Keep in mind
[13/Jul/2009:02:00:53 -0400] Reloading configuration Error: Exactly one shell must be the default for domain administrators Error: Error: Error: Error: Error: [13/Jul/2009:02:23:43 -0400] Reloading configuration Error: Error: Error: Error: Exactly one shell must be the default for domain administrators
When I am selecting "exactly one shell" for the admin, it just says "Error:" with nothing else, but when I select more than one shell for admin it produces the error text "Error: Exactly one shell...".
Not sure what I'm doing wrong, here is what I'm selecting:
Admin: /bin/false (Email and FTP, FTP access only)
Mailbox: /dev/null (Email only, No login)
Default: /bin/false (Email and FTP, FTP access only)
Thanks for your help.
uhh I was going to say keep in mind I tried last night (2:00AM) and then again right now.
Also for some reason drupal destroyed the carriage returns on that copy/paste, here it is again:
[13/Jul/2009:02:00:53 -0400] Reloading configuration
Error: Exactly one shell must be the default for domain administrators
Error:
Error:
Error:
Error:
Error:
[13/Jul/2009:02:23:43 -0400] Reloading configuration
Error:
Error:
Error:
Error: Exactly one shell must be the default for domain administrators
It's possible you're running into a bug -- but do you think you could attach a screenshot of that screen?
That would clarify what all is going on, and if it is a bug, I can point Jamie at your screenshot :-)
Thanks!
-Eric
Hi Eric.
Attached are 3 screenshots showing the steps I am taking, and the error.
Meanwhile is there a workaround where I can edit a config/setting to achieve what I want to do? Essentially I realized all of my users have SSH access which I want to stop granting to everyone by default.
Thanks.
The problem here is two-fold - first you must select one or both of the Admin or Mailbox checkboxes for each shell. Second, due to a virtualmin bug the error message telling you this isn't appearing properly (I'll fix that).
''
ah ok, gotcha... so even those the shell is not enabled, it still needs to have a checkbox for either admin or mailbox... that seems to be working now...
question - is it possible to make this change retroactive so that it applies to all/certain VS admins? or does this just cover newly created accounts?
That page only effects new accounts, but you can change the shell for existing domains on the Edit Owner Limits page.
''