nisrmuser Command

Purpose

Removes a NIS+ user account.

Syntax

nisrmuser Name

Description

The nisrmuser command removes the NIS+ user account identified by the Name parameter. This command removes a user's attributes without removing the user's home directory and files. The user name must already exist as a string of 8 bytes or less.

Only the root user can remove administrative users. Administrative users are those users with admin=true set in the /etc/security/user file.

You can use the Web-based System Manager Users application or System Management Interface Tool (SMIT) to execute this command within the NIS+ administration  section.

Security

Access Control: This command should grant execute (x) access only to the root user and members of the security group. This command should be installed as a program in the trusted computing base (TCB). The command should be owned by the root user with the setuid (SUID) bit set.

Auditing Events: ;

Event Information
USER_Remove user

Examples

  1. To remove the user davis account and its attributes from the local system, enter:
    nisrmuser davis

Files

Item Description
/usr/sbin/nisrmuser Contains the nisrmuser command.