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
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