Author Topic: Default login shell  (Read 1041 times)

bakcsa83

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Default login shell
« 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!

bakcsa83

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: Default login shell
« Reply #1 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.