O'Reilly logo

Linux® For Dummies®, 8th Edition by Richard Blum, Dee-Ann LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Step 9: Let Guests Print

By default, Samba uses the standard Windows network logon accounts to control network security. However, for a print server on a small network, this can be overkill.

For small networks, you most likely want to let anyone on the network print. In such a situation, it’s kind of silly to create unique user accounts for everyone. Instead, you should just allow anyone to print on the shared printer.

Unfortunately, the Samba Configuration window doesn’t provide for setting this feature, so you’ll have to dive into the Samba configuration file and change it yourself. Here’s how to do that:

1.
Log in to the Fedora system as the root user. The Samba configuration file is protected so only the root user can edit it.
2.
Click ApplicationsAccessoriesText Editor.
3.
Click the Open icon and browse to the Samba configuration file, /etc/samba/smb.conf.
4.
In the configuration file, look for the [printers] section. The [printers] section contains all the Samba settings for controlling printer sharing. You should see the following entries:
 comment = All Printers                                              
								 path = /usr/spool/samba                                             
								 browseable = no                                                     
								 # Set public = yes to allow user 'guest account' to                 
								         print                                                       
								 ; guest ok = no                                                     
								 ; writeable = no                                                    
								 printable = yes                                                     
5.
Remove the semicolon in front of guest ok and change ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required