Robert Schwebel <[EMAIL PROTECTED]> writes:

> It's a self made system, so it could easily be that I forgot something.
> Shadow is used, PAM not. Here are the relevant files: 

They look reasonable to me.

> /etc # ls -l passwd shadow
> -rw-r--r--    1 root     root           77 Oct  5  2002 passwd
> -rw-r-----    1 root     root           70 Jan  1 00:01 shadow
> 
> Shouldn't that be correct? What else do I need? 

Then you *must* run lshd as root, or it won't be able to read the
shadow information.

If it isn't that particular (but common) mistake, I think you need to
bring out the debugger. Attach gdb to the running lshd process
(preferably when logged in on the console, or in some other manner
that doesn't depend on lshd running ;-). Put a break point on
unix_user.c:do_lookup_user, step through a login attempt, and watch
what happens.

/Niels
_______________________________________________
lsh-bugs mailing list
[EMAIL PROTECTED]
http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs

Reply via email to