View Issue Details

IDProjectCategoryView StatusLast Update
0004077phplist applicationCommand Linepublic18-02-08 14:17
ReporterLubTex 
PrioritynormalSeveritytweakReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version2.10.1 
Target Version2.10.7Fixed in Version2.10.2 
Summary0004077: commanline user check may fail on certain systems
DescriptionI had trouble. I could execute via commandline, but couldn't get the cron to work. Then I found that my ENV didn't have USER. Instead it had LOGNAME. You could add this after export CONFIG and it should work for more people. I think there might be a couple of other environments that might have others like USERNAME that could be added as well.

if [ -z $USER ]; then
USER=$LOGNAME
export USER
fi

I know the cron issue is a sensitive one, but it might help to add some disclaimers in the README.commandline that Server Environments are all VERY different and this may not work for all server configurations. It might also do to add some of the other cron methods like the lynx methods or the CGI tricks.

Let me know if I can test anything else.
TagsNo tags attached.

Relationships

related to 0003721 closed phplist 2.10.x 

Activities

michiel

18-09-05 01:55

manager   ~0006891

I think I will actually get rid of this security check. It's heavily flawed and easy to get around, so it's no use at all.