- … @ suivre
If you are not the only user of your computer, you can create new users to protect your data and your preferences.
Adding a user create a new folder in your system. This folder gets the name of the new user and the default settings of HandyLinux. It will be readable (you can view the data of another user), but not in writable (you can not create or modify data).
HandyLinux has a simple graphical tool to perform this task, but you can also go through the terminal and the command “adduser”.
To add a new user to your system , go to the HandyMenu, section “Raiders” then “Application Finder” . In the category “System” , select “Users and Groups” :
The window that does appear displays your user account and its specificities. You can then change the settings of your account or create a new one . Your password will be requested.
Advanced settings allow you to define more precisely the rights and opportunities of each user.
Time to get serious : adding a user with a terminal. This operation requires administrator rights :
sudo adduser new_user_login
The new user can now login with his username and password to launch HandyLinux. He can store his data , configure his environment without any risk for your data and your settings.
Note that the new user will have the ability to perform administrative tasks.
To protect your data or limit the rights of one user, it is sometimes necessary to restrict the rights and/or permissions of another user. This procedure requires the administration rights and it is executed using the Terminal.
To avoid errors when you share your computer, you probably want to be the only “administrator” of your machine. When you use administrative rights, you go through the “sudo” command. This command refers to a group of users. To remove administrative rights to one given user, simply delete this user from the group “sudo”:
sudo deluser josua sudo
Your password you will be asked.
To avoid viewing your data by another user , simply change the permissions of your files . This change is selective, allowing access only to certain data … the ones you choose to share .
The procedure is done directly from your file manager “Thunar” :
You can now close the “Properties” window, your “Documents” folder will be inaccessible by any other users.