This section provides steps to complete the following basic setup tasks for a newly installed Clear Linux* OS system:
To create a new user and set a password for that user, enter the following commands as a root user:
useradd <userid> passwd <userid>
Replace the <userid> with the name of the user account you want to create including the password for that user. The passwd command prompts you to enter a new password. Retype the new password for the new user account just created.
Before logging off as root and logging into your new user account, enable the sudo command for your new <userid>.
To be able to execute all applications with root privileges, add the <userid> to the wheel group.
Add <userid> to the wheel group:
usermod -G wheel -a <userid>
Log out of root and into the new <userid>.
To log off as root, enter exit.
Enter the new <userid> and the password created earlier.
You will now be in the home directory of <userid>.
The Clear Linux OS software utility swupd allows you to perform system updates while reaping the benefits of upstream development.
To update your newly installed OS, run:
sudo swupd update
Software applications are installed as bundles using the command swupd bundle-add. Experienced Linux* users might compare swupd to running apt-get or yum install for package management. Yet Clear Linux OS manages packages at the level of bundles, which are integrated stacks of packages.
For example, the sysadmin-basic bundle installs the majority of applications useful to a system administrator. To install it, enter:
swupd bundle-add sysadmin-basic
Expand your knowledge of swupd and check out our developer resources: