Name

root preexec = /absolute_ path/command

Synopsis

Sets a command to run as root before connecting to the share. See also preexec, postexec, and root postexec configuration options. Runs before the user’s preexec command. Use with caution.

Get Using Samba 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.