Author Topic: Allow login by ssh or linux gui login screen (e.g. gdm)  (Read 2539 times)

krsnendu

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Allow login by ssh or linux gui login screen (e.g. gdm)
« on: March 26, 2008, 07:23:53 pm »
I have installed ebox using Ubuntu 8.04 repositories and the smbldap integration seems good. I was finding very hard to do this using smbldap-installer.
I want my users to be able to log in using ssh and graphic login, and I want their home directories to be /home/username.

I used smbldap-tools to create a user as follows:
# sudo smbldap-useradd -a -m -s /bin/bash -g 2001 -c "Test User" testuser
# sudo smbldap-userpasswd testuser

#getent passwd

testuser:x:2003:2001:Test User:/home/testuser:/bin/bash

When I try to log in by ssh I get the message access denied.
I also can't log in by the graphical log in screen.


What do I need to do to be able to login?

jcanfield

  • Zen Monk
  • **
  • Posts: 89
  • Karma: +2/-0
    • View Profile
Re: Allow login by ssh or linux gui login screen (e.g. gdm)
« Reply #1 on: March 28, 2008, 09:28:30 pm »
Does /home/User exist?  If so, what are the privs? 
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius...and a lot of courage - to move in the opposite direction."  --  Albert Einstein