Access Lists
Access lists allow us to group machines together when specifying share options. In fact, we've just shown the most common method of using them: a list of individual host names, similar to that shown below:
server# share -F nfs -o ro=helium:lithium /file/to/share server#
An access list can be formatted in a number of other ways. These are shown in the table below. Any of the types in Table 18.5 can be used, so long as the list is colon-separated.
Type | Used For | Example |
---|---|---|
Host name | List of individual hosts | lithium |
Netgroup | Name of an NIS netgroup map | some_machines |
Network | Network name or IP address, identified by an “@” | @192.168.22 |
DNS | Machines in a specific domain, identified by a “.” | .sun.com |
(Deny access) | Deny access ... |
Get Solaris™ Operating Environment Boot Camp 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.