![]() You could add the guest account to the jack group with the command:Īfter that, any user that belongs to the group jack should be able to access the Public directory that has been shared to the LAN. Say, for example, the share is found in /home/jack/Public (which means it is owned by user/group jack. ![]() Save and close the file.Īnd if that doesn’t grant access to other registered users, you might have to add the guest account to the group associated with the share. In that file, add the following to the bottom: If that doesn’t work, you’ll need to add the share to the Samba configuration file. Once you’ve created the user, you’ll then need to add them with the smbpasswd command like so:Īt this point, you could give the guest credentials to anyone who needs access to that Public folder, and they should be able to reach it from any machine on your LAN. You can go back to the terminal window and add the user with the command:Īnswer the necessary questions (giving the guest user a strong password). Because of that, if you want to share the folder with anyone, you’ll need to create a guest account. What’s kind of annoying about this hiccup is that it might well prevent guest access. Where USER is the name of the user account on your system. All you need to do is open a terminal window and issue the command: However, the fix for this is quite simple. ![]() This is one of those sticking points that has troubled Ubuntu for some time. If you find that users are unable to access the share, the problem is that the GUI tool isn’t capable of adding a Samba password for the system to use. Do note: If you grant access to other users to create and share files, or give access to guests, you’ll be prompted to allow the system to automatically set the permission (which you should allow). If you are the only user on that desktop machine, you’ll need to grant Guest access to the share.Īfter configuring everything, click Create Share, and you’re done. If you want other users to be able to create and share files within the directory, click the checkbox associated with that option. Give the share a name, an optional comment and then set the permissions. After the installation completes, Samba will be running, and you can continue configuring the share. When prompted, click Install again and, if prompted, type your user password. Click Install Service ( Figure C).įigure C Installing the sharing service is but a click away. In the resulting popup ( Figure B), click the checkbox for Share This Folder.įigure B The Folder Sharing options for the Public folder.īecause Ubuntu Desktop 22.04 doesn’t ship with Samba pre-installed, you’ll be prompted to install the Windows networks sharing service. Right-click the Public folder and select Local Network Share ( Figure A).įigure A Sharing the Public folder to your LAN can be done through the right-click context menu in the File Manager application. Log into your instance of Ubuntu Desktop 22.04 and then open the File Manager application. ![]() How to share a directory to the LAN using Ubuntu To make this work, you’ll need a running instance of Ubuntu Desktop 22.04 that is connected to a local area network (LAN). In fact, you’d be hard-pressed to find a Linux distribution that makes sharing folders as easy as Ubuntu.Īnd that’s exactly what I’m going to show you how to do … share a directory to your LAN, so other users can access the contents within. This is one area where Ubuntu has always been heads above the competition. SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium) Open source: Must-read coverageĦ Best Linux project management software in 2023Ħ best open-source kanban boards for managing projects in 2023Ħ Best Free Alternatives to Microsoft Word (2023 Update)Ĭase in point: the sharing of directories to your LAN. As usual, the developers of Ubuntu have gone out of their way to make everything not only “just work” but do so with ease. Ubuntu 22.04 (Jammy Jellyfish) has arrived, and it offers plenty of exciting new features that are sure to win over hardcore Linux users as well as those new to the world of open source. Jack Wallen walks you through the simple steps of sharing a directory from Ubuntu Desktop 22.04 to your LAN for other users to access. How to share directories to your LAN From Ubuntu Desktop 22.04 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |