good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: I need a user just for Perl script run from web browsersby NERDVANA (Deacon) |
on Apr 29, 2022 at 08:26 UTC ( [id://11143421]=note: print w/replies, xml ) | Need Help?? |
A quick way to test is to log in as the new user "sudo -u Sally1 bash" and then change to the same directory and try reading and writing the various paths that your script uses. Then, try running your script. (you can set environment variables to simulate the script being called by a web request)
In Section
Seekers of Perl Wisdom
|
|