LikeWise by default will have users on /bin/sh since not all systems have bash–correct that and make your users happy:
sudo /opt/likewise/bin/lwregshell set_value ‘[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]’ LoginShellTemplate /bin/bashsudo /opt/likewise/bin/lwregshell set_value ‘[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\Local]’ LoginShellTemplate /bin/bash
Then simply refresh Local Security Service:
sudo /opt/likewise/bin/lwsm refresh lsass
Now you also need to clear LikeWise’s Active Directory Cache if users have already logged in and you want it to take effect immediately: Â (if this is done during setup you can skip this step)
sudo /opt/likewise/bin/lw-ad-cache –delete-all
Enjoy
October 21st, 2011 at 11:16 pm
This is exactly what I needed. Thank you so much.
March 9th, 2012 at 4:21 pm
Change the end of both statements to /bin/rbash
now the users cant screw with each others files. They can only stay in their directory.
March 20th, 2012 at 7:49 pm
Good point Jason–restricted shell is better typically.
June 21st, 2012 at 7:36 am
Perfect! Just what I needed.
June 28th, 2012 at 7:47 pm
Glad to hear! How are you using LikeWise Open? — Simple authentication or are you doing anything advanced with it?