0

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?

Steve
  • 1

1 Answers1

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