Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: bakcsa83 on July 28, 2016, 01:52:38 pm

Title: Default login shell
Post by: bakcsa83 on July 28, 2016, 01:52:38 pm
Hi All,

I recently added some linux virtual machines to a zentyal domain. Everything looks good, except one thing.
The default shell on the client machines is always set to /bin/sh for all domain users, regardless of the settings in "Users and Computers ->LDAP settings->PAM Settings->Default login shell".

Could you please tell me how can I set the default login shell on zentyal side for the users that it will be used also on the domain member machines?

If it is not possible on zentyal side, could you tell me how can I override the default login shell on client side for all domain users? (Debian/ubuntu)

Thanks in advance!
Title: Re: Default login shell
Post by: bakcsa83 on July 28, 2016, 04:19:46 pm
To answer my own questions.

Quote
Could you please tell me how can I set the default login shell on zentyal side for the users that it will be used also on the domain member machines?
This is not possible. Zentyal does not maintain Unix Attributes (which is very strange IMHO). The PAM settings affects only the local machine which hosts Zentyal

Quote
If it is not possible on zentyal side, could you tell me how can I override the default login shell on client side for all domain users? (Debian/ubuntu)
It is done by samba in smb.conf. In the global section insert
Code: [Select]
template shell = /bin/bash or whatever shell you want to use.