What are the default users for the Ubuntu LAMP 14.04

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?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.