Want to create users and set least privilege needed for all users. How can I set permissions and make sure users can only access their own files and also create an admin that can access all? Is admin the same as root?
Asked
Active
Viewed 922 times
0
1 Answers
0
The root is admin If you are talking about Ubuntu , then you need not to worry , the files in your home folder cannot be accessed by anyone else . You can create a new user by the command
useradd <username>
You can set password for the user using the command
Passwd <username>
Then enter the password.
By default, users have minimum permission, and can access nothing but their own files , unless given root priviledge.
Hope this helps

xeon
- 295
sudo
access (sudo group), which effectively lets you doroot
tasks with your own account and password. – Sergiy Kolodyazhnyy Feb 16 '16 at 21:25