user-setup - Set up initial user and password

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name user-setup
Package version 1.63ubuntu5
Package architecture all
Package type deb
Installed size 535 B
Download size 134.40 KB
Official Mirror
This package creates an initial user, using the same code as is
responsible for creating the initial user in the installer. It is only
likely to be of any use if your system has no non-system users at all.


Package Version Architecture Repository
user-setup_1.63ubuntu5_all.deb 1.63ubuntu5 all Ubuntu Main
user-setup - - -


Name Value
adduser -
debconf >= 0.5
debconf-2.0 -
passwd -


Type URL
Binary Package user-setup_1.63ubuntu5_all.deb
Source Package user-setup

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install user-setup deb package:
    # sudo apt-get install user-setup




2018-03-06 - Dimitri John Ledkov <>
user-setup (1.63ubuntu5) bionic; urgency=medium
* Lower priority of the encrypt home question, as ecryptfs has been
demoted to universe.
2016-04-20 - Mathieu Trudel-Lapierre <>
user-setup (1.63ubuntu4) xenial; urgency=medium
* Fix sddm.conf paths when replacing PLACEHOLDER for the DE to be run by
SDDM in the autologin case. (LP: #1543197)
2016-04-18 - Mathieu Trudel-Lapierre <>
user-setup (1.63ubuntu3) xenial; urgency=medium
* Fix paths for GDM configs which are now in /etc/gdm3. (LP: #1571415)
2016-03-09 - St├ęphane Graber <>
user-setup (1.63ubuntu2) xenial; urgency=medium
* Add the initial user to the lxd group.
2015-11-27 - Mathieu Trudel-Lapierre <>
user-setup (1.63ubuntu1) xenial; urgency=medium
* Resynchronise with Debian.  Remaining changes:
- Add the initial user to the adm, libvirtd and sambashare groups too.
Do not add them to the audio, video, floppy, netdev, scanner, or
bluetooth groups.
- Default passwd/root-login to false.
- Create the spu group on powerpc/ps3 and powerpc/cell.
- Make is_system_user always return false if OVERRIDE_SYSTEM_USER is
- Add preseedable passwd/auto-login question; if set to true, configure
gdm, kdm, lxdm, sddm, and lightdm for automatic login.  Add
passwd/auto-login-backup question which backs up the previous contents
of the files as well.
- Ask whether the user wants to encrypt their home directory.
- Allow forcing the encrypted home option.
- If a user requests an encrypted-home, we must have their login
passphrase, in order to wrap their mount passphrase; it's
fundamentally incompatible to preseed encrypted-home AND a crypted
password; if this happens, send the user back to password selection.
- Zero out swap devices at the end of install when encryption is
- Provide a progress message for wiping swap space.
- If user-setup/allow-password-empty is preseeded to true, allow empty
- Disable installation of pre-pkgsel.d/10kdesudo; it does nothing for
Ubuntu, and causes a confusing message that worries some people.
- Add weak password detection (purely length-based for now, matching
- Consider a password of '!' in shadow for root to be unset.
- Don't restrict guest login from login screen if autologin was
configured, just restrict autologin for guest specifically.
- If OVERRIDE_ALREADY_ENCRYPTED_SWAP is set in the environment, assume
that encrypted swap has already been set up rather than re-creating
and re-zeroing swap.
- Add maas to reserved-usernames.
2015-10-02 - Christian Perrier <>
user-setup (1.63) unstable; urgency=medium
[ Updated translations ]
* Thai (th.po) by Theppitak Karoonboonyanan
2015-07-22 - Christian Perrier <>
user-setup (1.62) unstable; urgency=medium
[ Updated translations ]
* Turkish (tr.po) by Mert Dirik
2015-04-10 - Christian Perrier <>
user-setup (1.61) unstable; urgency=low
[ Updated translations ]
* Romanian (ro.po) by Ioan Eugen Stan
2015-03-09 - Christian Perrier <>
user-setup (1.60) unstable; urgency=low
[ Updated translations ]
* Danish (da.po) by Joe Hansen
2015-02-06 - Christian Perrier <>
user-setup (1.59) unstable; urgency=low
[ Updated translations ]
* Dutch (nl.po) by Frans Spiesschaert

See Also

Package Description
util-linux-locales_2.31.1-0.4ubuntu3_all.deb locales files for util-linux
util-linux_2.31.1-0.4ubuntu3_amd64.deb miscellaneous system utilities
uuid-dev_2.31.1-0.4ubuntu3_amd64.deb Universally Unique ID library - headers and static libraries
uuid-runtime_2.31.1-0.4ubuntu3_amd64.deb runtime components for the Universally Unique ID library
valgrind_3.13.0-2ubuntu2_amd64.deb instrumentation framework for building dynamic analysis tools
vdpau-driver-all_1.1.1-3ubuntu1_amd64.deb Video Decode and Presentation API for Unix (driver metapackage)
vim-common_8.0.1453-1ubuntu1_all.deb Vi IMproved - Common files
vim-doc_8.0.1453-1ubuntu1_all.deb Vi IMproved - HTML documentation
vim-gnome_8.0.1453-1ubuntu1_all.deb Vi IMproved - enhanced vi editor (dummy package)
vim-gtk3_8.0.1453-1ubuntu1_amd64.deb Vi IMproved - enhanced vi editor - with GTK3 GUI
vim-gui-common_8.0.1453-1ubuntu1_all.deb Vi IMproved - Common GUI files
vim-runtime_8.0.1453-1ubuntu1_all.deb Vi IMproved - Runtime files
vim-tiny_8.0.1453-1ubuntu1_amd64.deb Vi IMproved - enhanced vi editor - compact version
vim_8.0.1453-1ubuntu1_amd64.deb Vi IMproved - enhanced vi editor
vino_3.22.0-3ubuntu1_amd64.deb VNC server for GNOME