User accounts keep files seperate. Learn how to create a user and modify its group membership.
- Depending on what your server is gonna be used for…you may need to manually manage…user accounts for other people.…User accounts help to keep things separate.…Different humans using the system…should have their own accounts.…And different programs or services can also have…dedicated user accounts, as well.…Even on a clean install of Ubuntu server,…there's a number of user accounts already defined.…User accounts are stored in the /etc/passwd file.…So here on my server, we can take a look at that…and see how many accounts already exist.…
This is my user and I can see that there's also accounts…for the SSH server, for LXD,…for a web server, for mail, and even for man.…We can manage users at the command line.…There's a collection of commands that do this.…Most notably,…adduser, usermod, and deluser.…Adduser and deluser interface with lower level commands…called useradd and userdel…which is a little confusing.…So, I always remember that the ones I want to use…start with an action, which sounds more natural to me.…
Author
Released
8/29/2018- Installing Ubuntu Server
- Configuring remote access with SSH
- Configuring the firewall
- Configuring networking with Netplan
- Managing users
- Configuring for scale
- Securing an HTTP server with TLS
- Hosting an application
- Setting up a forwarding DNS server
- Sending email with Postfix
Skill Level Beginner
Duration
Views
Related Courses
-
Introduction
-
Lab setup1m 26s
-
1. Ubuntu Server
-
Ubuntu Server1m 21s
-
Installing Ubuntu Server5m 27s
-
-
2. Securing and Monitoring Your Server
-
Configuring the firewall6m 41s
-
Exploring the logs2m 54s
-
Monitoring the server3m 9s
-
3. Configuring and Managing the Server
-
Service management3m 8s
-
Managing users4m 28s
-
Configuring for scale3m 24s
-
4. Exploring Common Services
-
Hosting an application1m 21s
-
LXD containers4m 50s
-
Working with snaps1m 59s
-
Conclusion
-
Juju, MAAS, and Landscape2m 23s
-
Next steps20s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Managing users