fileshareset

Langue: en

Version: Jun, 01 2006 (openSuse - 09/10/07)

Autres sections - même nom

Section: 8 (Commandes administrateur)

NAME

fileshareset - automatically creates NFS-SMB shares when called by user

SYNOPSIS


fileshareset [OPTION] DIRECTORY

DESCRIPTION

fileshareset automatically creates an NFS-SMB share, configuring the share and restarting the daemons. It also tests if the system supports file sharing. Because fileshareset runs as root, only users in the fileshare group, or the group set in fileshare.conf using the FILESHAREGROUP option, can use it. Note that with the RESTRICT=no option in fileshare.conf, all users will be able to share directories. Also, the options FILESHARING=yes and SHARINGMODE=simple need to be set in fileshare.conf. The fileshare.conf configuration file is under /etc/security.

OPTIONS

--add Adds the directory as a shared directory.
--remove Removes the sharing status of this directory.

EXAMPLES

fileshareset --add /home/share Adds the /home/share as an exported, or shared, directory. fileshareset --remove /home/share Removes the /home/share from the exported, or shared, directory list.

SECURITY

fileshareset must be used as setuid root and will only permit users to export directories that have rights.

SEE ALSO

smb.conf(5), nfs(5), exports(5) smbd(8), tty(4), pty(7)

AUTHOR

Manpage written by Rodrigo Rubira Branco <rrbranco@br.ibm.com>