Mike's Realm chown -R us ./base

11Feb/115

LikeWise Open: Change Default Shell

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/bash
sudo /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

Share
Comments (5) Trackbacks (0)
  1. This is exactly what I needed. Thank you so much.

  2. 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.

  3. Perfect! Just what I needed.


Leave a comment

No trackbacks yet.