On Sun, Oct 06, 2002 at 10:30:50PM +0200, Niels M�ller wrote:
> lshd is a little paranoid, and it doesn't allow logins to accounts
> with no passwd-field in the paswd database (an empty password, as
> generated by crypt("salt", ""), should work, though). See the comment
> before the do_lookup_user function in unix_user.c for the rules lshd
> use when reading the user database.Ok, empty passwords was just for testing, long term I would be satisfied if it worked at all :^) > An ordinary user with a real password is the normal case, and that > should certainly work. How is your system set up? Do you have a plain > /etc/passwd file with encrypted passwords in, or do you use shadow > passwords? Is PAM involved in any way? 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: /etc/passwd: root:x:0:0:root:/:/bin/sh custom:x:500:100:Rayonic Custom User:/home:/bin/sh /etc/shadow: root:SPoFKYqe5xgJc:0:0:99999:7::: custom:zu.hbJ3nhIfqk:0:0:99999:7::: /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? Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Braunschweiger Str. 79, 31134 Hildesheim, Germany Handelsregister: Amtsgericht Hildesheim, HRA 2686 Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 Visit us at the SPS/IPC/Drives 2002 in Nuernberg! Hall 5, Booth 154 +++ Please contact us for details. _______________________________________________ lsh-bugs mailing list [EMAIL PROTECTED] http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs
