Full Transcript

# Installing and Exploring Ubuntu Server (11 of 11) | Command | Description | |---|---| | sudo adduser carlos | Creates the user account and its home directory. | | sudo mkdir /home/carlos/files | Creates a directory for carlos to store his files when using FTP; the sudo command is required to crea...

# Installing and Exploring Ubuntu Server (11 of 11) | Command | Description | |---|---| | sudo adduser carlos | Creates the user account and its home directory. | | sudo mkdir /home/carlos/files | Creates a directory for carlos to store his files when using FTP; the sudo command is required to create the directory in another user's account, and this new directory belongs to the root. | | sudo chown carlos: carlos /home/carlos/files | Makes carlos the owner of the files directory; the carlos group is also assigned to the files directory. | | sudo chmod g-w, o-w /home/carlos/files | Removes write permissions for the files directory for all but the carlos user (the g-w parameter removes write permissions and g+w adds write permissions). |

Use Quizgecko on...
Browser
Browser