Project 2 prep discussion #2
Please answer the following questions which are vital for doing well on project 2
1. What is the command to use to run commands as root but you’re logged in as a non-root account?
2. What must you ensure before you run commands as root when logged in as a non-root account?
3. Can a non-root use create folders or files in the root of your filesystem (/)?
4. What is the command to create a user with username “testuser”?
5. What is the command to create a group named “testers?
6. What is the command to add the user “testuser” to the “testers” group?
7. Can you create files or folders in your own home folder as a non-root account?
8. How do you know if you are logged in as root or not?
9. What is the difference between the root account and a non-root account?
10. You created a folder and placed a few files in there. How can you ensure that you can find this folder when you log back in later?