4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
21 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
22 /* All Rights Reserved */
26 * Copyright (c) 2013 Gary Mills
28 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
29 * Use is subject to license terms.
35 extern void errmsg(int, ...);
37 /* WARNING: uid %d is reserved. */
40 /* WARNING: more than NGROUPS_MAX(%d) groups specified. */
43 /* ERROR: invalid syntax.\nusage: useradd ... */
46 /* ERROR: Invalid syntax.\nusage: userdel [-r] login\n" */
49 /* ERROR: Invalid syntax.\nusage: usermod ... */
53 /* ERROR: Unexpected failure. Defaults unchanged. */
56 /* ERROR: Unable to remove files from home directory. */
59 /* ERROR: Unable to remove home directory. */
62 /* ERROR: Cannot update system files - login cannot be %s. */
65 /* ERROR: uid %d is already in use. Choose another. */
68 /* ERROR: %s is already in use. Choose another. */
71 /* ERROR: %s does not exist. */
74 /* ERROR: %s is not a valid %s. Choose another. */
77 /* ERROR: %s is in use. Cannot %s it. */
80 /* WARNING: %s has no permissions to use %s. */
83 /* ERROR: There is not sufficient space to move %s home directory to %s */
86 /* ERROR: %s %d is too big. Choose another. */
89 /* ERROR: group %s does not exist. Choose another. */
90 #define M_GRP_NOTUSED 17
92 /* ERROR: Unable to %s: %s */
95 /* ERROR: %s is not a full path name. Choose another. */
98 /* ERROR: %s is the primary group name. Choose another. */
101 /* ERROR: Inconsistent password files. */
102 #define M_HOSED_FILES 21
104 /* ERROR: %s is not a local user. */
105 #define M_NONLOCAL 22
107 /* ERROR: Permission denied. */
108 #define M_PERM_DENIED 23
110 /* WARNING: Group entry exceeds 2048 char: /etc/group entry truncated. */
111 #define M_GROUP_ENTRY_OVF 24
113 /* ERROR: invalid syntax.\nusage: roleadd ... */
116 /* ERROR: Invalid syntax.\nusage: roledel [-r] login\n" */
119 /* ERROR: Invalid syntax.\nusage: rolemod -u ... */
122 /* ERROR: project %s does not exist. Choose another. */
123 #define M_PROJ_NOTUSED 28
125 /* WARNING: more than NPROJECTS_MAX(%d) projects specified. */
126 #define M_MAXPROJECTS 29
128 /* WARNING: Project entry exceeds 512 char: /etc/project entry truncated. */
129 #define M_PROJ_ENTRY_OVF 30
131 /* ERROR: Invalid key. */
132 #define M_INVALID_KEY 31
134 /* ERROR: Missing value specification. */
135 #define M_INVALID_VALUE 32
137 /* ERROR: Multiple definitions of key ``%s''. */
138 #define M_REDEFINED_KEY 33
140 /* ERROR: Roles must be modified with rolemod */
143 /* ERROR: Users must be modified with usermod */
146 /* WARNING: gid %d is reserved. */
147 #define M_RESERVED_GID 36
149 /* ERROR: Failed to read /etc/group file due to invalid entry or read error. */
150 #define M_READ_ERROR 37
152 /* ERROR: %s is too long. Choose another. */
153 #define M_TOO_LONG 38
156 * WARNING: Avoided creating ZFS filesystem as parent directory
157 * %s is not a ZFS mount point.
159 #define M_NO_ZFS_MOUNTPOINT 39
162 #endif /* _MESSAGES_H */