cw-nssctl#
NAME
cw-nssctl -- Manage the cw-nss service.
Note
This command used to be scyld-nssctl. The legacy
scyld-* command is deprecated and will be removed in a future
release.
USAGE
cw-nssctl[-h][-v][start][stop],[status]
DESCRIPTION
A basic tool to start, stop, or show the status of the cw-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 cw in the
/etc/nsswitch.confhosts line to enable (or reenable) cw-nss functionality.- stop
Disable cw-nss functionality by removing cw in the
/etc/nsswitch.confhosts line.- status
Display the current status of cw-nss functionality. (The default if no argument is supplied.)
EXAMPLES
cw-nssctlDisplay the current state of cw-nss.
cw-nssctl statusDisplay the current state of cw-nss.
cw-nssctl stopDisable cw-nss functionality.
cw-nssctl startEnable cw-nss functionality.
RETURN VALUES
Upon successful completion, cw-nssctl returns 0.
On failure, an error message is printed to stderr and
cw-nssctl returns nonzero.