3.8 Configuring the Execute Only File Attribute for NCP Server

The NCP Execute Only attribute can be associated with the user mode execute bit on a file or subdirectory. With this setting turned on, NCP clients can set or clear this bit. The Novell Client for Linux uses this bit to represent the user mode execute bit on a file or subdirectory.

The Execute Only file attribute for NCP Server is enabled by default. You can enable or disable support for the attribute with the Execute_Attribute_Support option in the /etc/opt/novell/ncpserv.conf configuration file.

3.8.1 Using Novell Remote Manager for Linux to Configure the Execute Attribute Support

  1. In a Web browser, access Novell Remote Manager for Linux on the server, then log in as the root user.

    The URL is the IP address of the server (such as 192.168.1.1) and port 8009.

    https://192.168.1.1:8009
    
  2. Select Manage NCP Services > Manage Server to view the Server Parameter Information.

  3. Click the link for the EXECUTE_ATTRIBUTE_SUPPORT setting.

  4. In New Value, type a 0 (disable) or 1 (enable), then click Change.

  5. On the Server Parameter Information page, verify that the new setting is displayed for the EXECUTE_ATTRIBUTE_SUPPORT parameter.

3.8.2 Editing the /etc/opt/novell/ncpserv.conf File to Configure the Execute Attribute Support

You can enable or disable support for the Execute Only attribute by manually editing the value for the EXECUTE_ATTRIBUTE_SUPPORT parameter in the /etc/opt/novell/ncpserv.conf file.

  1. Open the /etc/opt/novell/ncpserv.conf configuration file in a text editor.

  2. If the EXECUTE_ATTRIBUTE_SUPPORT parameter is not present, add the following line as the default setting of enabled:

    EXECUTE_ATTRIBUTE_SUPPORT 1
    
  3. You can optionally disable support, by changing the value from 1 to 0.

    EXECUTE_ATTRIBUTE_SUPPORT 0
    
  4. Save the file.

  5. Restart the NetIQ eDirectory (ndsd) aemon by entering the following commands:

    rcndsd stop
    
    rcdsd start