nimol_lslpp Command

Purpose

Runs the lslpp command on a NIMOL client.

Syntax

nimol_lslpp -c client_hostname [ -m remote_access_method ] [-f lslpp_flags ] [ -D ]

Description

The nimol_lslpp command executes the lslpp command on a configured NIMOL client using the specified remote access method, which is/usr/bin/rsh by default. When configuring a NIMOL server using the nimol_config command, the user can set the default remote access method to something other than /usr/bin/rsh, such as /usr/bin/ssh. A machine is considered a NIMOL client when it has been installed using the nimol_install command without the -n flag.

The command runs the lslpp command with -L -c as the default flags. The lslpp command flags can be specified with the -f flag.

Flags

ItemDescription
-c client_hostname Specifies the NIMOL client hostname on which to execute the lslpp command.
-D Runs the command in debug mode.
-f lslpp_flags Specifies the lslpp command flags to pass to the lslpp command.
-m remote_access_method Specifies the remote access method to use to run the lslpp command. The default is/usr/bin/rsh. Another option is /usr/bin/ssh.

Exit Status

ItemDescription
0 The command completed successfully.
> 0 Error returned.

Security

To run the nimol_lslpp command on a NIMOL client, the client must provide remote access permissions to the NIMOL server. Using/usr/bin/ssh is a more secure remote access method than /usr/bin/rsh.

Examples

  1. To run the lslpp command on client myclient, with the default flags -Lc, type:
    nimol_lslpp -c myclient
  2. To run the lslpp command on client myclient, with the flags -i bos.rte, type:
    nimol_lslpp -c myclient -f "-i bos.rte"
  3. To run the lslpp command on client myclient, using ssh as the remote access method, type:
    nimol_lslpp -c myclient -m ssh

Location

/usr/sbin/nimol_lslpp

Files

ItemDescription
/etc/nimol.conf Stores configuration information for the command.
icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone