I realize this isn’t exactly a Perl question, but I received no responses on StackOverflow here. I figure this is something a true Perl user would know, so I just have to ask it here. Sorry. It’s just I barely know linux admin stuff.
I would like to create a new user to be the user that Perl scripts are run from when accessed from web browsers.
So far I have done all my work under the same name I logon to my server as, Johnny1.
But to make it easier when using the top command, I would like a new user who's sole purpose is to be the one that is listed for all running Perl processes from the web.
So I create the user Sally1.
In /etc/apache2/envvars I have listed:
export APACHE_RUN_USER=Sally1 export APACHE_RUN_GROUP=www-data
And then I restarted the apache service.
However, Sally1 doesn't have permission to "write" or "create" files so my Perl scripts fail. Also, I realize that there may be future permissions which I am unaware of at the moment.
Is there a minimal command I can use, so that Sally1 is able to have all the permissions that Johnny1 has?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |