If webuser is nologin, then how to upload files?

2.3.1 webuser and webgroup
The remedy is to create a new user, called webuser, belonging to webgroup. The names are unimportant. The main thing is that this user should be in a group of its own and should not actually be used by anyone for anything else. Ideally, you should make sure that the newly created user cannot actually log in; Having told the operating system about this user, you now have to tell Apache. Edit the file httpd.conf to include the following lines:

User webuser
Group webgroup
If that is the case, then there is no way to upload files using webuser. One has to always use root to ftp files then chown webuser/webgroup, otherwise, apache will not be able to excu or write to those files.

 

 

 

 

Top