Sign inSign up free

733. Rename an Account Everywhere

medium 20 XP ~7 minHands-on lab

The account mgarcia must become maria.lopez after a name change. Nothing else about the person changes: same UID, same files, same group memberships.

Task

  • The login name is maria.lopez, with the same UID as before.
  • The home directory is /home/maria.lopez, with all its files (the old path must no longer exist).
  • The user's personal group is renamed to maria.lopez, with the same GID.
  • maria.lopez stays a member of developers and docker-users.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Part of Prepare for the LFCS. Next step: Three Scripts That Won't Start

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.