I want to create a user in Linux and add two user. But i want that Both user cannot access tha data with each other. In case if OS corrupt then tha data will stored in another location for future use. Because if the os corrupt then the os will corrupt not the data because the data stored in another location. How is it possible
1 Answer
If you are wanting to give someone root privileges but not give them full access to the system you may want to look at SUDO. The config file is located in /etc/sudoers
Here is a website explaining how to configure sudo: LINK (linuxhelp.net)
This will allow you to define exactly what access and privileges the user can have. Also you should look at user, group, and world permissions with chmod.
Adding users to a group is in /etc/groups
Best of luck!
root
priviledges could break your system.