scyld-nssctlΒΆ

NAME

scyld-nssctl -- Manage the scyld-nss service.

USAGE

scyld-nssctl

[-h] [-v] [start] [stop], [status]

DESCRIPTION

A basic tool to start, stop, or show the status of the scyld-nss functionality without affecting the systemd status. The 'start' and 'stop' actions must be executed by user root.

OPTIONAL ARGUMENTS:

-h, --help

Print usage message and exit. Ignore trailing args, parse and ignore preceding args.

-v

Increase verbosity.

start

Insert scyld in the /etc/nsswitch.conf hosts line to enable (or reenable) scyld-nss functionality.

stop

Disable scyld-nss functionality by removing scyld in the /etc/nsswitch.conf hosts line.

status

Display the current status of scyld-nss functionality. (The default if no argument is supplied.)

EXAMPLES

scyld-nssctl

Display the current state of scyld-nss.

scyld-nssctl status

Display the current state of scyld-nss.

scyld-nssctl stop

Disable scyld-nss functionality.

scyld-nssctl start

Enable scyld-nss functionality.

RETURN VALUES

Upon successful completion, scyld-nssctl returns 0. On failure, an error message is printed to stderr and scyld-nssctl returns nonzero.