# Unable to ssh as user but can su - Using Likewise

**URL:** <https://forums.suse.com/t/unable-to-ssh-as-user-but-can-su-using-likewise/23366>\
**Category:** SLES Configure-Administer\
**Created:** [November 30, 2012, 11:10pm UTC](https://forums.suse.com/t/unable-to-ssh-as-user-but-can-su-using-likewise/23366 "2012-11-30T23:10:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rtdown05](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@rtdown05](https://forums.suse.com/u/rtdown05)\
**Post date:** [November 30, 2012, 11:10pm UTC](https://forums.suse.com/t/unable-to-ssh-as-user-but-can-su-using-likewise/23366/1 "2012-11-30T23:10:27Z")

</div>

Hello,

In our environment we have installed Likewise and have successfully joined our Domain on SLES 11. When we tested that Likewise was configured correctly by switching from root to our AD accounts. But when we attempt to SSH to these systems with our AD accounts we keep getting the following error:

“Permissions on the password database may be too restrictive.”

I created a local user and am able to ssh to it as well as root.

Since we have no need for them, I have disabled AppArmor and the SuSeFirewall. I have also verified that the File Permisions are set to Easy.

Please let me know if you have any ideas as to what could be causing this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 30, 2012, 11:38pm UTC](https://forums.suse.com/t/unable-to-ssh-as-user-but-can-su-using-likewise/23366/2 "2012-11-30T23:38:32Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Just to be clear, you’re going from ‘root’ to an unprivileged user from  
‘Likewise’? That’s not a great test because as long as an account  
exists ‘root’ can become it without any password tests. What happens if  
you login to the console directly (via a TTY) as one of those users?

I don’t know anything about Likewise off the top of my head; how does it  
interact with this, or all of these users just domain (from microsoft  
active directory (MAD)) users? If they are MAD users then perhaps the  
domain authentication isn’t working as well as you think it should yet.

Good luck.  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v2.0.19 (GNU/Linux)  
Comment: Using GnuPG with undefined - [http://www.enigmail.net/](http://www.enigmail.net/)

iQIcBAEBAgAGBQJQuSdYAAoJEF+XTK08PnB5Yv8QAIV0H25JlHYCGR9A2rSSbbT5  
K9kWawhvziMaai/FPqtMd3UkvkpZFAo22soxQt0WivHrpaVK0SpiF9KR0xK6wQK8  
CQDApCjj/Tm41hA7T6nac3ic8tvIBWqrJ/wI3ReW6YI1yoOinh7Vmq4gPHdhrrkC  
4jqR0pC5XdFrEVK6FG3pMbaC5hZJK1roqSU1H5HG6DWOC9gfq5pAKD2OBJSVjgRw  
aao5dwJ3excyVaHLS+ls0buD9bjamn5w2p7c9CMEW2BCTG8hIi8QhImxORG9M34l  
HqF2oa6PJzppvlDnUtczGB0JeZzeSvgV02uuZEMJ4rm9E0te8ye4fOyxb7T7DWC2  
bXjrSJNkp/ButLXcQQk1RGjXrpMtHlSl7AJGfqFnF952+i06tlcNJm3lZRu8dKIw  
KbB00vvJ+W05L/ryx2q/1MxJktjWVrkd25DOUyWrvs4w35VXy05OeZyhnuQRV3f6  
cRsB4KfQbvgJi0+/OrDoHVZ4ELX5pV/mdSUOpNoDCG49wzT+BS6LhUWPxa40DpL+  
pc6j8Mryh46XXXvgVfkZKdlDHW1sHQ7q2MiiC6Yh1PB7ReH7J9lnaNZa564tNbJO  
2C/odNMb+Vg9+B7xsjaSpBa+1zjX7ffbVW2nAqa+hWRoWicQT9CwkQiW6yuAm3VZ  
QVAKCOWrxNpeHGAdU8bv  
=MMsX  
-----END PGP SIGNATURE-----
