Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars
@@ -21,16 +21,16 @@
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
+ * Copyright (c) 2013 Gary Mills
+ *
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.6 */
-
char *errmsgs[] = {
"WARNING: uid %ld is reserved.\n",
"WARNING: more than NGROUPS_MAX(%d) groups specified.\n",
"ERROR: invalid syntax.\n"
"usage: useradd [-u uid [-o] | -g group | -G group[[,group]...] |"
@@ -97,8 +97,9 @@
"ERROR: Roles must be modified with ``rolemod''.\n",
"ERROR: Users must be modified with ``usermod''.\n",
"WARNING: gid %ld is reserved.\n",
"ERROR: Failed to read /etc/group file due to invalid entry or"
" read error.\n",
+ "ERROR: %s is too long. Choose another.\n",
};
int lasterrmsg = sizeof (errmsgs) / sizeof (char *);