[Samba] winbind users template shell

Adam Nielsen adam.nielsen at uq.edu.au
Wed Jan 31 23:48:16 GMT 2007

> I have "template shell = /sbin/nologin" in my Global smb.conf
> cat:*:10016:10002:cat:/home/CAD/cat:/sbin/nologin
> how do I give user "cat" access to the shell " /bin/bash" ?

I don't know that this is possible - maybe you could create a script
and set that as the login shell for all users.  Then in that script you
could check the username and if it's a permitted user, run /bin/bash.


More information about the samba mailing list