How to change current user to www in ubuntu?How to avoid using sudo when working in /var/www?How to run a...

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Is Diceware more secure than a long passphrase?

Extension of 2-adic valuation to the real numbers

Are there physical dangers to preparing a prepared piano?

Why does nature favour the Laplacian?

Check if a string is entirely made of the same substring

On The Origin of Dissonant Chords

Can someone publish a story that happened to you?

Was there a Viking Exchange as well as a Columbian one?

What is the philosophical significance of speech acts/implicature?

Can I criticise the more senior developers around me for not writing clean code?

Alignment of various blocks in tikz

How come there are so many candidates for the 2020 Democratic party presidential nomination?

Discriminated by senior researcher because of my ethnicity

Why do games have consumables?

Dynamic SOQL query relationship with field visibility for Users

Two field separators (colon and space) in awk

What makes accurate emulation of old systems a difficult task?

As an international instructor, should I openly talk about my accent?

Do I have an "anti-research" personality?

Coordinate my way to the name of the (video) game

What happens in the secondary winding if there's no spark plug connected?

Implications of cigar-shaped bodies having rings?

a sore throat vs a strep throat vs strep throat



How to change current user to www in ubuntu?


How to avoid using sudo when working in /var/www?How to run a command as a user whose login is disabled?WWW sub-folder not executing?Users Restriction ( prevent users executing files )What directories does user own - LTS 12.04Add www-data to alternate groupAdd existing user to Unitywww-data user cannot access the files created by dumpcap application in ubuntuparsing `/etc/passwd` to find root user, and whether user can run interactive shellHome directory for the www-data user?Apache permissions to allow both user and web server to edit /var/www/var/www/ Security






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







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)









share|improve this question







New contributor




hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Possible duplicate of How to run a command as a user whose login is disabled?

    – RoVo
    14 hours ago











  • There is no need ever to login as www. What are you trying to do?

    – RoVo
    14 hours ago











  • @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
    14 hours ago











  • 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
    14 hours ago











  • But better to not use root, make ownership someuser:www and upload files by someuser

    – LeonidMew
    14 hours ago


















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)









share|improve this question







New contributor




hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Possible duplicate of How to run a command as a user whose login is disabled?

    – RoVo
    14 hours ago











  • There is no need ever to login as www. What are you trying to do?

    – RoVo
    14 hours ago











  • @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
    14 hours ago











  • 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
    14 hours ago











  • But better to not use root, make ownership someuser:www and upload files by someuser

    – LeonidMew
    14 hours ago














0












0








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)









share|improve this question







New contributor




hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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)






apache2 users






share|improve this question







New contributor




hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 14 hours ago









hkguilehkguile

101




101




New contributor




hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






hkguile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Possible duplicate of How to run a command as a user whose login is disabled?

    – RoVo
    14 hours ago











  • There is no need ever to login as www. What are you trying to do?

    – RoVo
    14 hours ago











  • @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
    14 hours ago











  • 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
    14 hours ago











  • But better to not use root, make ownership someuser:www and upload files by someuser

    – LeonidMew
    14 hours ago



















  • Possible duplicate of How to run a command as a user whose login is disabled?

    – RoVo
    14 hours ago











  • There is no need ever to login as www. What are you trying to do?

    – RoVo
    14 hours ago











  • @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
    14 hours ago











  • 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
    14 hours ago











  • But better to not use root, make ownership someuser:www and upload files by someuser

    – LeonidMew
    14 hours ago

















Possible duplicate of How to run a command as a user whose login is disabled?

– RoVo
14 hours ago





Possible duplicate of How to run a command as a user whose login is disabled?

– RoVo
14 hours ago













There is no need ever to login as www. What are you trying to do?

– RoVo
14 hours ago





There is no need ever to login as www. What are you trying to do?

– RoVo
14 hours ago













@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
14 hours ago





@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
14 hours ago













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
14 hours ago





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
14 hours ago













But better to not use root, make ownership someuser:www and upload files by someuser

– LeonidMew
14 hours ago





But better to not use root, make ownership someuser:www and upload files by someuser

– LeonidMew
14 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






hkguile is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1138278%2fhow-to-change-current-user-to-www-in-ubuntu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








hkguile is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















hkguile is a new contributor. Be nice, and check out our Code of Conduct.













hkguile is a new contributor. Be nice, and check out our Code of Conduct.












hkguile is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1138278%2fhow-to-change-current-user-to-www-in-ubuntu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

List of shipwrecks in 1808...

Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...