Asked by: Svilen Helweg
Questioner General

Ubuntu Login As Www-data

Link of ubuntu login as www-data page is given below. Pages related to ubuntu login as www-data are also listed.

Last Updated: 6th February, 2020

15
1. Ubuntuforums.org

Added by: Letha Fuentevilla

Explainer

Logining into www-data - Ubuntu Forums

31.05.2015 - su Password: # su -s /bin/bash www-data. Congrats, you're now logged in as www-data! Regular Basis Create 2 files & make them executable:.
Url: https://ubuntuforums.org/showthread.php?t=2280551

7,490,373

Monthly Visits

12,988

Alexa Rank

US

Popular in

Up

Service Staus

15h ago

Last Checked

2. Stackexchange.com

Added by: Bozena Terrer

Explainer

debian - Cannot run command as www-data using su - Unix & Linux

02.12.2016 - Without debating su vs. sudo you can try adding -s /bin/sh to your command line. (I could not verify this option is available for jessie since the 
Url: https://unix.stackexchange.com/questions/327436/cannot-run-command-as-...

910,476,019

Monthly Visits

111

Alexa Rank

US

Popular in

Up

Service Staus

23h ago

Last Checked

3. Askubuntu.com

Added by: Agostina Rupprich

Explainer

How to give permissions to www-data to log in with ssh? - Ask Ubuntu

25.11.2015 - 1 Answer. Set a password for www-data sudo passwd www-data. Define a shell for www-data. You can do this using chsh or by editing /etc/passwd . Give permission for login via ssh, edit /etc/ssh/sshd_config and add the following line (do not forget to enumerate all the users that need ssh access) AllowUsers www-data.
Url: https://askubuntu.com/questions/702060/how-to-give-permissions-to-www-...

44,085,433

Monthly Visits

2,238

Alexa Rank

IN

Popular in

Up

Service Staus

16h ago

Last Checked

4. Serverfault.com

Added by: Fouad Kuntzmann

Explainer

ubuntu - BASH Scripting, su to www-data for single command

11.03.2015 - Just use su - www-data -c 'svnadmin create /svn/repository' in your script run by root. So that only this command is run by www-data user. Update for future 
Url: https://serverfault.com/questions/388016/bash-scripting-su-to-www-data...

28,507,513

Monthly Visits

3,449

Alexa Rank

IN

Popular in

Up

Service Staus

8h ago

Last Checked

Added by: Jacquie Helmert

Explainer

ubuntu - BASH Scripting, su to www-data for single command - Server

Just use su - www-data -c 'svnadmin create /svn/repository' in your script run by root. So that only this command is run by www-data user. Update for future 
Url: https://serverfault.com/questions/388016/bash-scripting-su-to-www-data...

28,507,513

Monthly Visits

3,621

Alexa Rank

IN

Popular in

Up

Service Staus

20h ago

Last Checked

5. Blogspot.com

Added by: Phylis Zertel

Explainer

Login as www-data apache user in ubuntu - techamad

06.04.2015 - why it is not possible to "sudo su www-data" ? -Simply, for security reasons why I may need to login as www-data? -For testing purposes
Url: http://techamad.blogspot.com/2015/04/login-as-www-data-apache-user-in-...

8,970

Monthly Visits

10,281,618

Alexa Rank

US

Popular in

Up

Service Staus

12h ago

Last Checked

6. Digitalocean.com

Added by: Qi Moreau

Explainer

Should I enable a password for user www-data? | DigitalOcean

20.06.2015 - In Ubuntu-Apache-Wordpress files under /var/www are owned by www-data user and www-data group. If I login as root or other username I 
Url: https://www.digitalocean.com/community/questions/should-i-enable-a-pas...

24,264,079

Monthly Visits

4,047

Alexa Rank

IN

Popular in

Up

Service Staus

14h ago

Last Checked

7. Blogspot.com

Added by: Estella Vaquer

Explainer

Programster: Ubuntu 14.04 - Allow Login As www-data User

15.05.2014 - Logging in as the apache user (www-data) is useful when trying to figure out permission denied errors. I always first check that I can access the 
Url: http://programster.blogspot.com/2014/05/ubuntu-1404-allow-login-as-www...

14,224

Monthly Visits

6,507,602

Alexa Rank

US

Popular in

Up

Service Staus

17h ago

Last Checked

8. Franciskim.co

Added by: Torri Torrijos

Explainer

Switch user to www-data on AWS EC2 Ubuntu – Francis Kim

13.01.2016 - I found it almost impossible to neatly su or switch user as www-data on Ubuntu 14.04 on the AWS EC2. I'm not sure if it's specific to AWS:.
Url: https://franciskim.co/switch-user-to-www-data-on-aws-ec2-ubuntu/

27,630

Monthly Visits

3,367,836

Alexa Rank

US

Popular in

Up

Service Staus

7h ago

Last Checked

9. Stackoverflow.com

Added by: Hanae Palladino

Explainer

Apache user account passwordless access to the server - Ubuntu

Therefore I had to generate SSH keys for the Apache user (it's www-data) although it was not so First login as root. sudo -u www-data ssh-keygen -t rsa.
Url: https://stackoverflow.com/questions/19712778/apache-user-account-passw...

2,547,285,378

Monthly Visits

40

Alexa Rank

IN

Popular in

Up

Service Staus

20h ago

Last Checked

10. Superuser.com

Added by: Ramon Sartor

Explainer

linux - How can I check whether a user has login permissions on

13.07.2010 - In this case it is /bin/false , which means you can't login as that user. If www-data has a valid login shell then just go and edit /etc/passwd and 
Url: https://superuser.com/questions/162712/how-can-i-check-whether-a-user-...

inf

Monthly Visits

Alexa Rank

Popular in

Up

Service Staus

12h ago

Last Checked

11. Cyberciti.biz

Added by: Muhammad Paulussen

Explainer

Ubuntu Linux: Add a User To Group www-data ( Apache Group

06.05.2012 - Ubuntu Linux: Add a User To Group www-data ( Apache Group ) The group name www-data is the user's initial login group i.e. vivek has 
Url: https://www.cyberciti.biz/faq/ubuntu-add-user-to-group-www-data/

12,828,425

Monthly Visits

7,616

Alexa Rank

IN

Popular in

Up

Service Staus

20h ago

Last Checked

12. Webhosterwissen.de

Added by: Jainaba Garlito

Explainer

Tutorial: Nginx, PHP, MySQL auf Ubuntu 18.04 installieren

24.09.2018 - Nginx, PHP, MySQL auf Ubuntu 18.04 installieren. Login als USERNAME: sudo chown -R www-data:www-data /var/www/. sudo find 
Url: https://www.webhosterwissen.de/know-how/eigener-webserver-nginx/tutori...

27,813

Monthly Visits

3,345,866

Alexa Rank

US

Popular in

Up

Service Staus

22h ago

Last Checked

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Co-Authored By:

eLogin-DB Staff Editor

12

6th February, 2020

41

15

Active

16

Answers

18

Images

7

Users

93% of readers found this page helpful.

4.7/5

Click a star to add your vote