Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > n

nisrm(1)

HP-UX 11i Version 2: August 2003
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

nisrm — remove NIS+ objects from the namespace

SYNOPSIS

nisrm [ -if ] name...

DESCRIPTION

The nisrm command removes NIS+ objects named name from the NIS+ namespace.

This command will fail if the NIS+ master server is not running.

Options

-i

Interactive mode. Like the system rm(1) command, the nisrm command will ask for confirmation prior to removing an object. If the name specified by name is a non-fully qualified name, this option is forced on. This prevents the removal of unexpected objects.

-f

Force. The removal is attempted, and if it fails for permission reasons, an nischmod(1) is attempted and the removal retried. If the command fails, it fails silently.

Notes

This command will not remove directories (see nisrmdir(1)) nor will it remove non-empty tables (see nistbladm(1)).

EXAMPLES

Remove the objects foo, bar, and baz from the namespace:

nisrm foo bar baz

EXTERNAL INFLUENCES

Environment Variables

NIS_PATH

If this variable is set and the NIS+ name is not fully qualified, each directory specified will be searched until the object is found (see nisdefaults(1)).

RETURN VALUE

nisrm returns 0 on success and 1 on failure.

WARNINGS

HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported.

LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming services based on LDAP.

AUTHOR

nisrm was developed by Sun Microsystems, Inc.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2003 Hewlett-Packard Development Company, L.P.