Override template shell on linux system in Active Directory domain?
Posted
by
benizi
on Server Fault
See other posts from Server Fault
or by benizi
Published on 2011-01-19T19:02:52Z
Indexed on
2012/03/20
5:31 UTC
Read the original article
Hit count: 186
Is there an easy way to override the Samba "template shell = /bin/bash" setting on a per-user basis?
This is for Linux systems joined to an Active Directory domain. Some users want /bin/bash. Others including myself want /bin/zsh. Is there some AD attribute I can set?
Anything I've found via googling seems hackish at best (writing a script to replace /bin/sh -- maintenance hassle).
A similar serverfault question Override LDAP shell seems OpenLDAP-oriented (but if someone knows how to get it working with AD, please say so).
© Server Fault or respective owner