Instead, we will create passwords using the smbpasswd utility to ensure the users only access Samba services and not the entire system. Note: Do not create passwords for these users using the system passwd command. The users we will create in this step are the ones you will use for authentication.Įxecute the command below to add two users. Generally, whenever you try to connect to the Samba file server, you will be required to authenticate using a username and password. Now, we need to create users who will access the Samba services from other PCs on the network. To enable the services through firewall, execute the commands below: sudo firewall-cmd -permanent -zone=public -add-service=samba We need to enable these services to start on boot whenever we shut down or restart our PC and allow the services through the system firewall.Įxecute the commands below to run the Samba services on boot. That means the services are up and running. sudo service smb statusįrom the image above, you can see the notification active (running). When done, run the commands below to confirm whether the services are running on your system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |