Restricting Access to Services

The Samba server configuration is extremely flexible. It can make use of UNIX NIS groups for access control, giving certain users read-only access, others read-write access, some users admin access, and still others no access. It can also force all users to be treated as members of the guest account (which is, by default, the UNIX user nobody) or as another special user. It can force users to belong to a certain group. All these options and more are part of the Shares page, in the Security Options section under Advanced View. Specifically, these options are Valid and Invalid Users, Admin Users, Read List, Write List (which is both Read and Write), Force User, and Force Group.

By making use of these advanced options, ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.