Robert Schelander wrote:
> Hi to all!
>
> I've configured axspawn to create users automatically,
> but creating the password doesn't seem to work.
> It inserts a + into the passwd file, but if this is supposed
> to be the password it does not work.
> Anyway why doesn't write axspawn anything into the
> shadow file where the passwords normally are?
>
> oe8rsq:+:400:200:oe8rsq:/home/ax25/oe8rsq:/bin/bash
>
> Do I have to modify axspawn.c to do this correctly?
yes
>
> If you don't know how to do this in C even some hints
> how you would do that on the cmdline would help.
> Maybe it's possible to use passwd / crypt or something
> else out of a script to realize correct standard-password
> creation.
>
You can create an entry in /etc/shadow without a password.
You could run passwd and use the callsign for a password
You could do a callsign lookup and use the name or some other part of
the reply as a password.
Bob