shares-admin - Enables the configuration of shared NFS / SMB directories.
shares-admin [--add-share=PATH] [gnome-std-options]
shares-admin enables a user to configure the sharing of directories / filesystems. These can be shared using either NFS or SAMBA.
This is linked to the ability to right-click on a directory in Nautilus and select "Share folder".
The following options are supported:
-a, --add-share=PATH Configure a share for the specified PATH.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
Example 1: Running the main application.
example% shares-adminExample 2: Sharing a specific directory.
example% shares-admin --add-share=/export/home/shared
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
The following files are used by this application:
/usr/bin/shares-admin Executable for directory sharing configuration.
/var/spool/setup-tool-backends/backup/shares
Backup directory for files that are modified.
/var/run/setup-tool-backends/debug/shares
Debug logs can be found under here.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWgnome-system-tools Interface stability Uncommitted
Latest version of the GNOME Desktop User Guide for your platform.
users-admin(1), network-admin(1), services-admin(1), time-admin(1), gnome-std-options(5), attributes(5)
Written by Darren Kenny, Sun Microsystems Inc., 2006.
| SunOS 5.11 | shares-admin (1) | 6 Nov 2006 |