Linux Labs

Users, permissions, and processes / Stage 6 of 13

Accounts and their lifecycle

Not running Starting usually ~20 s
Leave the lesson

Step 6 of 7 · on a machine · 4 min

Reopen the account

A closed account is reopened with the same settings in reverse, and only with the ones that closed it.

The intern labback came back from leave early. Find out yourself which settings were closed before the leave: each one shows up in its own command from this lesson.

Exercise · do it

Reopen the account after leave

The intern labback's account was closed before his leave. Give him his access back: the old password works again, the account has no expiry date, and the login shell is /bin/bash. Do not set a new password, and leave the data in /home/labback alone.

Sign in and start The machine is available after signing in

Goals · 0 of 3

  • Bring back the old password not done yet
  • Remove the account's expiry date not done yet
  • Restore the /bin/bash shell without touching the data not done yet

Step goals

0 of 3
  • Bring back the old password — not done yet
  • Remove the account's expiry date — not done yet
  • Restore the /bin/bash shell without touching the data — not done yet
Ubuntu 24.04

Step goals

0 of 3
  • Bring back the old password — not done yet
  • Remove the account's expiry date — not done yet
  • Restore the /bin/bash shell without touching the data — not done yet
Loading…