User Management
Tiger City IMX Industrial Computer with Linux OS
Default user
The default user in Tiger is the only one available after the first boot.
- login: root
- no password
Create new users
In order to list all existing users in the system use the following command:
awk -F':' '{print $1}' /etc/passwd
To add a new user and create a home directory for it use the following command:
sudo useradd -m user_name
To verify that the user was created and view the user’s details use:
sudo id user_name
To set a new password for the user use the following command:
sudo passwd user_name
After that, logging in as a new user will be possible. The current user can be checked with the "whoami" command.
Delete users
A user and its home directory can be deleted with the following command:
sudo userdel -r user_name