2 .\" Copyright 1989 AT&T Copyright (c) 1999, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH ROLEDEL 1M "Feb 25, 2017"
8 roledel \- delete a role's login from the system
12 \fBroledel\fR [\fB-r\fR] \fIrole\fR
17 The \fBroledel\fR utility deletes a role account from the system and makes the
18 appropriate account-related changes to the system file and file system.
19 \fBroledel\fR also removes the role from each user's list of assumable roles.
22 The following options are supported:
29 Remove the role's home directory from the system. This directory must exist.
30 The files and directories under the home directory will no longer be accessible
31 following successful execution of the command.
36 The following operands are supported:
43 An existing role name to be deleted.
48 The following exit values are returned:
55 Successful completion.
64 Invalid command syntax. A usage message for the \fBroledel\fR command is
74 The account to be removed does not exist.
83 The account to be removed is in use.
92 Cannot update the \fB/etc/group\fR or \fB/etc/user_attr\fR file but the login
93 is removed from the \fB/etc/passwd\fR file.
102 Cannot remove or otherwise modify the home directory.
108 \fB\fB/etc/passwd\fR\fR
117 \fB\fB/etc/shadow\fR\fR
120 system file containing roles' encrypted passwords and related information
126 \fB\fB/etc/group\fR\fR
129 system file containing group definitions
135 \fB\fB/etc/user_attr\fR\fR
138 system file containing additional role attributes
143 \fBauths\fR(1), \fBpasswd\fR(1), \fBprofiles\fR(1), \fBroles\fR(1),
144 \fBusers\fR(1B), \fBgroupadd\fR(1M), \fBgroupdel\fR(1M), \fBgroupmod\fR(1M),
145 \fBlogins\fR(1M), \fBroleadd\fR(1M), \fBrolemod\fR(1M), \fBuseradd\fR(1M),
146 \fBuserdel\fR(1M), \fBusermod\fR(1M), \fBpasswd\fR(4), \fBprof_attr\fR(4),
147 \fBuser_attr\fR(4), \fBattributes\fR(5)
150 The \fBroledel\fR utility only deletes an account definition that is in the
151 local \fB/etc/group\fR, \fB/etc/passwd\fR, \fB/etc/shadow\fR, and
152 \fB/etc/user_attr\fR file. file. If a network name service
153 is being used to supplement the local \fB/etc/passwd\fR file with
154 additional entries, \fBroledel\fR cannot change information supplied by the
155 network name service.