Failed to save custom shells

9 posts / 0 new
Last post
#1 Mon, 07/13/2009 - 01:18
Rizvi

Failed to save custom shells

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.

Mon, 07/13/2009 - 08:31
andreychek

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

Mon, 07/13/2009 - 18:39
Rizvi

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.

Mon, 07/13/2009 - 18:43
Rizvi

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

Mon, 07/13/2009 - 18:44
andreychek

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

Mon, 07/13/2009 - 22:59
Rizvi

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.

Tue, 07/14/2009 - 11:25 (Reply to #6)
JamieCameron

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).

''

Tue, 07/14/2009 - 20:35 (Reply to #7)
Rizvi

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?

Tue, 07/14/2009 - 23:21 (Reply to #8)
JamieCameron

That page only effects new accounts, but you can change the shell for existing domains on the Edit Owner Limits page.

''

Topic locked