0

Anyone knows?

root@fsdfssfewgfdgfng1:~# su www
Cannot execute /sbin/nologin: No such file or directory
root@fsdfssfewgfdgfng1:~# id www
uid=1000(www) gid=1000(www) groups=1000(www)
hkguile
  • 101
  • There is no need ever to login as www. What are you trying to do? – pLumo Apr 26 '19 at 08:53
  • @RoVo i have a website it owned by www:www, if i upload the files using root, it will be root:root for those uploaded files, so i want to upload the file using www – hkguile Apr 26 '19 at 08:55
  • Add a "set group id" permission to folders in www, and uploaded files will be root:www, make them readable by group if needed. – LeonidMew Apr 26 '19 at 08:57
  • But better to not use root, make ownership someuser:www and upload files by someuser – LeonidMew Apr 26 '19 at 08:59

0 Answers0