# Introduction to Offensive Security: Operating System Security

In this article, I will write a write-up for Operating System Security that covers an Introduction to Operating System Security, Common Examples of OS Security, and Practical Examples of OS Security.

1. Which of the following is **not** an operating system? `Thunderbird`
    
    1. AIX
        
    2. Android
        
    3. Chrome OS
        
    4. Solaris
        
    5. Thunderbird
        
2. Which of the following is a strong password, in your opinion? `LearnM00r`
    
    1. iloveyou
        
    2. 1q2w3e4r5t
        
    3. LearnM00r
        
    4. qwertyuiop
        
3. Based on the top 7 passwords, let’s try to find Johnny’s password. What is the password for the user `J**ohnny**`? `abc123`
    
4. Once you are logged in as Johnny, use the command `history` to check the commands that Johnny has typed. We expect Johnny to have mistakenly typed the `root` password instead of a command. What is the root password? `happyHack!NG`
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1730918286305/d3cf1e0d-b6eb-4f29-a218-cf46ff134d54.png align="center")
    
5. While logged in as Johnny, use the command `su - root` to switch to the `root` account. Display the contents of the file `flag.txt` in the `root` directory. What is the content of the file? `THM{YouGotRoot}`
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1730918317658/fcde4617-b9f5-44c7-9a53-2da38f0a3737.png align="center")
    

Thank you for reading my article. Please leave any questions or comments on improving my learning journey and the Lab THM challenges.
