To enable easier email login I made the mod mentioned on the following threads :
When I run the script manually I receive a permission error (even when running it as root) :
/home/rabrol/email_conv.sh: line 24: /usr/sbin/pw2userdb: Permission denied
However I notice that the script is not functioning correctly. Cron calls the script every 5 minutes OK, but I get the following error :
/home/rabrol/email_conv.sh: line 24: pw2userdb: command not found
This appears in my mail log every 5 minutes.
There is a file called ps2userdb in /usr/sbin, although it appears in grey when most files are listed in green or blue.
I AM able to log in to email with the new format though (email@example.com, username test, passwrd xxxxxxxxxx).
How can I resolve this issue? Anyone else seen it? I didn't notice anything about this mentioned in the threads.