Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

*** 18,27 **** --- 18,29 ---- * * CDDL HEADER END */ /* + * Copyright (c) 2013 Gary Mills + * * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /*
*** 74,84 **** * Set to ZONENAME_MAX, the minimum value needed to allow any * zone to be specified. */ #define ARGSIZ ZONENAME_MAX ! #define MAXUGNAME 10 /* max chars in a user/group name or printed u/g id */ /* Structure for storing user or group info */ struct ugdata { id_t id; /* numeric user-id or group-id */ char name[MAXUGNAME+1]; /* user/group name, null terminated */ --- 76,87 ---- * Set to ZONENAME_MAX, the minimum value needed to allow any * zone to be specified. */ #define ARGSIZ ZONENAME_MAX ! #define MAXUGNAME (LOGNAME_MAX_ILLUMOS+2) /* max chars in a user/group */ ! /* name or printed u/g id */ /* Structure for storing user or group info */ struct ugdata { id_t id; /* numeric user-id or group-id */ char name[MAXUGNAME+1]; /* user/group name, null terminated */