This is a discussion on checkpw - Can I replace this with a shell script ? - Linux ; Can I just replace checkpw with a shell script ? I can't get the debian package checkpw to work. I'm not sure what checkpw does, and I haven't been able to find any documentation on the internal workings, other than ...
Can I just replace checkpw with a shell script ?
I can't get the debian package checkpw to work.
I'm not sure what checkpw does, and I haven't been able to find any
documentation on the internal workings, other than the overbloated source
code package, which is going to take me weeks to decipher.
I am guessing that it sets up some environment variables according to the
username it recieves from the piped input then runs the command in its argument
Is this correct ?
Does the spawned command as root, or as the named user ? Does anyone know.
The following test results in no output:
$ printf "mark\0postbox\0y123456\0"|checkpw id 3<&0
Although, the password file is file:
In reality, checkpw shoud run the bincimapd daemon from the
nternet superservice daemon as follows:
imap stream tcp nowait root /usr/sbin/bincimap-up /usr/sbin/bincimap-up \
--conf =/etc/bincimap/bincimap.conf --logtype=syslog -- /usr/bin/checkpw \
Because the checkpw program just doesn't work, I am unable to use my email.
I would like to quickly frig a replacement.
Thanks in advance to anyone who can help.
393 Quinton Road West
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com