# LF - Exercises 4
##### 1. Create a group named linuxFun.

##### 2. Create a user named tux adding it to the group linuxFun and also to the group users in just one command.

##### 3. Rename the user you created in #2 to your name: name.lastname. What happens with its $HOME dir?

$Home dir still has the old user name

##### 4. Assign a password to your user.

##### 5. What would these permissions mean? 750 - 700 - 640 - 644 - 600, explain them
###### 750 The user can read, write, and execute, the group can read but cannot write, and others cannot read, write or execute.
###### 700 Protects a file against any access from other users, while the issuing user still has full access.
###### 640 The owner has read and write permissions, the group has read permissions, and all other user have no rights to the file.
###### 644 Enables the following permissions: read and write for the owner; read and write for the group; read for others. If you trust other users within the same group and everyone needs write access to the files, this is a common setting to use. Otherwise 644 permissions can be used to restrict write access to the group.
###### 600 It is a default permission for files, the owner has full read and write access to the file, while no other user can access the file.
##### 6. Find out what this command does: newgrp groupName
The newgrp command changes a user's real group identification. When you run the command, the system places you in a new shell and changes the name of your real group to the group specified with the Group parameter. By default, the newgrp command changes your real group to the group specified in the `/etc/passwd` file.