Report this

What is the reason for this report?

What are the default users for the Ubuntu LAMP 14.04

Posted on February 13, 2017

I am trying to determine if any extra users are present on a webserver running the Ubuntu LAMP 14.04 one-click application. Could I get a list of the default users on this image?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The ‘only’ user on Ubuntu LAMP is root user which you access by default. They other users, which are here to support running services, but you can’t login to them or use them beside service for which they are made. One example of this user is www-data which is here for web servers.

To list all users, you can use command:

  1. cat /etc/passwd
Example output
root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin ...

It shows user and shell for user (what they see once they log in).

You can create your own user and you’re recommended to create a new non-root user for managing server. Steps for doing so are covered in Initial Server Set Up - Ubuntu 14.04.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.