{"id":4252,"date":"2022-12-20T17:39:54","date_gmt":"2022-12-20T20:39:54","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/useradd-zh_cn\/"},"modified":"2022-12-20T17:39:54","modified_gmt":"2022-12-20T20:39:54","slug":"useradd-zh_cn","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/useradd-zh_cn\/","title":{"rendered":"USERADD (zh_CN)"},"content":{"rendered":"<h1 align=\"center\">USERADD<\/h1>\n<p> <a href=\"#\u00e5\u00e7\u00a7\u00b0\">\u00e5\u00e7\u00a7\u00b0<\/a><br \/> <a href=\"#\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2\">\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2<\/a><br \/> <a href=\"#\u00e6\u00e8\u00bf\u00b0\">\u00e6\u00e8\u00bf\u00b0<\/a><br \/> <a href=\"#\u00e9\u00e9\u00a1\u00b9\">\u00e9\u00e9\u00a1\u00b9<\/a><br \/> <a href=\"#\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc\">\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc<\/a><br \/> <a href=\"#CAVEATS\">CAVEATS<\/a><br \/> <a href=\"#\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6\">\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6<\/a><br \/> <a href=\"#\u00e6\u00e4\u00bb\u00b6\">\u00e6\u00e4\u00bb\u00b6<\/a><br \/> <a href=\"#\u00e9\u00e5\u00ba\u00e5\u00bc\">\u00e9\u00e5\u00ba\u00e5\u00bc<\/a><br \/> <a href=\"#\u00e5\u00e8\u00a7\">\u00e5\u00e8\u00a7<\/a> <\/p>\n<hr>\n<h2>\u00e5\u00e7\u00a7\u00b0 <a name=\"\u00e5\u00e7\u00a7\u00b0\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">useradd \u2212 \u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e6\u00e6\u00b4\u00e6\u00b0\u00e9\u00bb\u00e8\u00ae\u00a4\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af<\/p>\n<h2>\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 <a name=\"\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><b>useradd<\/b> [<i>\u00e9\u00e9\u00a1\u00b9<\/i>] <i>\u00e7\u00bb\u00e5\u00bd<\/i><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><b>useradd<\/b> \u2212D<\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><b>useradd<\/b> \u2212D [<i>\u00e9\u00e9\u00a1\u00b9<\/i>]<\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>\u00e6\u00e8\u00bf\u00b0 <a name=\"\u00e6\u00e8\u00bf\u00b0\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e4\u00bd\u00bf\u00e7\u00a8\u00e6\u00b6\u00e4\u00b8\u00e5\u00b8\u00a6 <b>\u2212D<\/b> \u00e9\u00e9\u00a1\u00b9\u00ef\u00bc<b>useradd<\/b> \u00e5\u00bd\u00e4\u00bb\u00a4\u00e4\u00bd\u00bf\u00e7\u00a8\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e4\u00b8\u00e6\u00e5\u00ae\u00e7\u00e5\u00bc\u00e5\u00e7\u00b3\u00bb\u00e7\u00bb\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e3\u00e6\u00a0\u00b9\u00e6\u00ae\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e9\u00e9\u00a1\u00b9\u00ef\u00bc<b>useradd<\/b> \u00e5\u00bd\u00e4\u00bb\u00a4\u00e4\u00b9\u00e4\u00bc\u00e6\u00b4\u00e6\u00b0\u00e7\u00b3\u00bb\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6\u00e5\u00e5\u00e5\u00bb\u00ba\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e5\u00b9\u00b6\u00e5\u00a4\u00e5\u00b6\u00e5\u00e5\u00a7\u00e6\u00e4\u00bb\u00b6\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ef\u00bc\u00e4\u00b9\u00e4\u00bc\u00e4\u00b8\u00ba\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00bb\u00ba\u00e7\u00bb (\u00e5\u00af\u00e7 <b>\u2212g<\/b>, <b>\u2212N<\/b>, <b>\u2212U<\/b>\u00ef\u00bc\u00e5 <b>USERGROUPS_ENAB<\/b>)\u00e3<\/p>\n<h2>\u00e9\u00e9\u00a1\u00b9 <a name=\"\u00e9\u00e9\u00a1\u00b9\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>useradd<\/b> \u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e7\u00e9\u00e9\u00a1\u00b9\u00e6\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212b<\/b>, <b>\u2212\u2212base\u2212dir\u00a0<\/b><i>BASE_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e4\u00bd\u00bf\u00e7\u00a8 <b>\u2212d\u00a0<\/b><i>HOME_DIR<\/i>\u00ef\u00bc\u00e5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7\u00e5\u00ba\u00e7\u00ae\u00e5\u00bd\u00e3<i>BASE_DIR<\/i> \u00e5\u00a0\u00e4\u00b8\u00e8\u00b4\u00a6\u00e6\u00b7\u00e5\u00e5\u00b0\u00b1\u00e6\u00af\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e3\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e4\u00bd\u00bf\u00e7\u00a8 <b>\u2212m<\/b> \u00e9\u00e9\u00a1\u00b9\u00ef\u00bc<i>BASE_DIR<\/i> \u00e5\u00bf\u00e9\u00a1\u00bb\u00e5\u00b7\u00b2\u00e7\u00bb\u00e5- \u00e5\u00a8\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e9\u00e9\u00a1\u00b9\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00ef\u00bc<b>useradd<\/b> \u00e5\u00b0\u00e4\u00bd\u00bf\u00e7\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e7 <b>HOME<\/b> \u00e5\u00e9\u00ef\u00bc\u00e6\u00e8\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7 \/home\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212c<\/b>, <b>\u2212\u2212comment\u00a0<\/b><i>COMMENT<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e4\u00bb\u00bb\u00e4\u00bd\u00e5\u00e7\u00ac\u00a6\u00e4\u00b8\u00b2\u00e3\u00e9\u00e5\u00b8\u00b8\u00e6\u00af\u00e5\u00b3\u00e4\u00ba\u00e7\u00bb\u00e5\u00bd\u00e7\u00e7\u00ae\u00e7\u00e6\u00e8\u00bf\u00b0\u00ef\u00bc\u00e5\u00bd\u00e5\u00e7\u00a8\u00e4\u00ba\u00e7\u00a8\u00e6\u00b7\u00e5\u00a8\u00e5\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d<\/b>, <b>\u2212\u2212home\u2212dir\u00a0<\/b><i>HOME_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00b0\u00e5\u00e5\u00bb\u00ba\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00ef\u00bc\u00e5\u00b9\u00b6\u00e4\u00bd\u00bf\u00e7\u00a8 <i>HOME_DIR<\/i> \u00e4\u00bd\u00e4\u00b8\u00ba\u00e7\u00a8\u00e6\u00b7\u00e7\u00bb\u00e9\u00e7\u00ae\u00e5\u00bd\u00e7\u00e5\u00bc\u00e3\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e6\u00af\u00e5\u00b0 <i>LOGIN<\/i> \u00e5\u00e9\u00e5\u00a0\u00e5\u00b0 <i>BASE_DIR<\/i> \u00e5\u00e9\u00a2\u00ef\u00bc\u00e5\u00b9\u00b6\u00e4\u00bd\u00bf\u00e7\u00a8\u00e8\u00bf\u00e4\u00bd\u00e4\u00b8\u00ba\u00e7\u00bb\u00e9\u00e7\u00ae\u00e5\u00bd\u00e3\u00e7\u00ae\u00e5\u00bd\u00e4\u00b8\u00e4\u00b8\u00e5\u00ae\u00e5\u00bf\u00e9\u00a1\u00bb\u00e5\u00b7\u00b2\u00e7\u00bb\u00e5\u00e5\u00a8 <i>HOME_DIR<\/i>\u00ef\u00bc\u00e4\u00bd\u00e6\u00af\u00e4\u00bc\u00e5\u00a8\u00e9\u00e8\u00a6\u00e6\u00b6\u00e5\u00e5\u00bb\u00ba\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212D<\/b>, <b>\u2212\u2212defaults<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00e4\u00b8\u00e8\u00be\u00b9\u00ef\u00bc\u201c\u00e6\u00b4\u00e6\u00b9\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u201d\u00e5\u00e8\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212e<\/b>, <b>\u2212\u2212expiredate\u00a0<\/b><i>EXPIRE_DATE<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e5\u00b0\u00e8\u00a2\u00ab\u00e7\u00a6\u00e7\u00a8\u00e7\u00e6\u00a5\u00e6\u00e3\u00e6\u00a5\u00e6\u00e4\u00bb\u00a5 <i>YYYY\u2212MM\u2212DD<\/i> \u00e6\u00a0\u00bc\u00e5\u00bc\u00e6\u00e5\u00ae\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00ef\u00bc<b>useradd<\/b> \u00e5\u00b0\u00e4\u00bd\u00bf\u00e7\u00a8 \/etc\/default\/useradd \u00e4\u00b8 <b>EXPIRE<\/b> \u00e5\u00e9\u00e6\u00e5\u00ae\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e8\u00bf\u00e6\u00e6\u00a5\u00e6\u00ef\u00bc\u00e6\u00e8\u00e4\u00b8\u00e4\u00b8\u00aa\u00e7\u00a9\u00ba\u00e5\u00e7\u00ac\u00a6\u00e4\u00b8\u00b2(\u00e4\u00b8\u00e8\u00bf\u00e6)\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212f<\/b>, <b>\u2212\u2212inactive\u00a0<\/b><i>INACTIVE<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00af\u00e7\u00a0\u00e8\u00bf\u00e6\u00e5\u00ef\u00bc\u00e8\u00b4\u00a6\u00e6\u00b7\u00e8\u00a2\u00ab\u00e5\u00bd\u00bb\u00e5\u00ba\u00e7\u00a6\u00e7\u00a8\u00e4\u00b9\u00e5\u00e7\u00e5\u00a4\u00a9\u00e6\u00b0\u00e30 \u00e8\u00a1\u00a8\u00e7\u00a4\u00ba\u00e7\u00ab\u00e5\u00b3\u00e7\u00a6\u00e7\u00a8\u00ef\u00bc\u22121 \u00e8\u00a1\u00a8\u00e7\u00a4\u00ba\u00e7\u00a6\u00e7\u00a8\u00e8\u00bf\u00e4\u00b8\u00aa\u00e5\u00e8\u00bd\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e6\u00aa\u00e6\u00e5\u00ae\u00ef\u00bc<b>useradd<\/b> \u00e5\u00b0\u00e4\u00bd\u00bf\u00e7\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e7 <b>INACTIVE<\/b> \u00e6\u00e5\u00ae\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7\u00a6\u00e7\u00a8\u00e5\u00a8\u00e6\u00ef\u00bc\u00e6\u00e8\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ba \u22121\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212g<\/b>, <b>\u2212\u2212gid\u00a0<\/b><i>GROUP<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00a7\u00e7\u00bb\u00e9\u00e7\u00bb\u00e7\u00e7\u00bb\u00e5\u00e6\u00e5\u00b7\u00e7\u00a0\u00e3\u00e7\u00bb\u00e5\u00e5\u00bf\u00e9\u00a1\u00bb\u00e5\u00b7\u00b2\u00e7\u00bb\u00e5\u00e5\u00a8\u00e3\u00e7\u00bb\u00e5\u00b7\u00e7\u00a0\u00e5\u00bf\u00e9\u00a1\u00bb\u00e6\u00e4\u00bb\u00a3\u00e5\u00b7\u00b2\u00e7\u00bb\u00e5\u00e5\u00a8\u00e7\u00e7\u00bb\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00ef\u00bc <b>useradd<\/b> \u00e7\u00e8\u00a1\u00e4\u00b8\u00ba\u00e5\u00b0\u00e4\u00be\u00e8\u00b5\u00e4\u00ba \/etc\/login.defs \u00e6\u00e4\u00bb\u00b6\u00e4\u00b8\u00e7 <b>USERGROUPS_ENAB<\/b> \u00e5\u00e6\u00b0\u00e3\u00e5\u00a6\u00e6\u00e6\u00a4\u00e5\u00e6\u00b0\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba\u00e4\u00ba <i>yes<\/i> (\u00e6\u00e8\u00e5\u00a8\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e4\u00b8\u00e6\u00e5\u00ae\u00e4\u00ba <b>\u2212U\/\u2212\u2212user\u2212group<\/b>)\u00ef\u00bc\u00e5\u00b0\u00e4\u00bc\u00e4\u00b8\u00ba\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e7\u00bb\u00ef\u00bc\u00e7\u00bb\u00e5\u00e5\u00e7\u00bb\u00e5\u00bd\u00e5\u00e7\u00b8\u00e5\u00e3\u00e5\u00a6\u00e6\u00e9\u00e9\u00a1\u00b9\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba\u00e4\u00ba <i>no<\/i> (\u00e6\u00e8\u00e5\u00a8\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e4\u00b8\u00e6\u00e5\u00ae\u00e4\u00ba <b>\u2212N\/\u2212\u2212no\u2212user\u2212group<\/b>)\u00ef\u00bcuseradd \u00e4\u00bc\u00e6\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e7\u00e4\u00b8\u00bb\u00e7\u00bb\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba \/etc\/default\/useradd \u00e4\u00b8 <b>GROUP<\/b> \u00e5\u00e9\u00e6\u00e5\u00ae\u00e7\u00e5\u00bc\u00ef\u00bc\u00e5\u00e6\u00e8\u00e9\u00bb\u00e8\u00ae\u00a4\u00e6\u00af 100\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212G<\/b>, <b>\u2212\u2212groups\u00a0<\/b><i>GROUP1<\/i>[<i>,GROUP2,&#8230;<\/i>[<i>,GROUPN<\/i>]]]<\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e8\u00bf\u00e5\u00b1\u00e4\u00ba\u00e7\u00e9\u00e5\u00a0\u00e7\u00bb\u00e5\u00e8\u00a1\u00a8\u00e3\u00e6\u00af\u00e4\u00b8\u00aa\u00e7\u00bb\u00e9\u00bd\u00e7\u00a8\u00e9\u00e5\u00b7\u00e9\u00e5\u00bc\u00ef\u00bc\u00e6\u00b2\u00a1\u00e6\u00e4\u00b8\u00e9\u00b4\u00e7\u00e7\u00a9\u00ba\u00e6\u00a0\u00bc\u00e3\u00e8\u00bf\u00e9\u00e7\u00e7\u00bb\u00e5\u00e5\u00b0\u00e4\u00ba <b>\u2212g<\/b> \u00e9\u00e9\u00a1\u00b9\u00e7\u00bb\u00e5\u00ae\u00e7\u00e7\u00bb\u00e5\u00e6\u00a0\u00b7\u00e7\u00e9\u00e5\u00b6\u00e3\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ef\u00bc\u00e7\u00a8\u00e6\u00b7\u00e5\u00aa\u00e5\u00b1\u00e4\u00ba\u00e5\u00e5\u00a7\u00e7\u00bb\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00b0\u00e5\u00ae\u00e5\u00b8\u00ae\u00e5\u00a9\u00e4\u00bf\u00a1\u00e6\u00af\u00e5\u00b9\u00b6\u00e9\u00e5\u00ba\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212k<\/b>, <b>\u2212\u2212skel\u00a0<\/b><i>SKEL_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e9\u00aa\u00a8\u00e6\u00b6\u00e7\u00ae\u00e5\u00bd\u00ef\u00bc\u00e5\u00e5\u00ab\u00e4\u00bd\u00bf\u00e7\u00a8 <b>useradd<\/b> \u00e5\u00e5\u00bb\u00ba\u00e7\u00a8\u00e6\u00b7\u00e6\u00b6\u00ef\u00bc\u00e8\u00a6\u00e5\u00a4\u00e5\u00b6\u00e5\u00b0\u00e7\u00a8\u00e6\u00b7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e4\u00b8- \u00e7\u00e6\u00e4\u00bb\u00b6\u00e5\u00e7\u00ae\u00e5\u00bd\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e9\u00a1\u00b9\u00e5\u00aa\u00e6\u00e5\u00a8\u00e6\u00e5\u00ae <b>\u2212m<\/b> (\u00e6 <b>\u2212\u2212create\u2212home<\/b>) \u00e9\u00e9\u00a1\u00b9\u00e6\u00b6\u00e6\u00e6\u00e6\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e6\u00a4\u00e9\u00a1\u00b9\u00e6\u00b2\u00a1\u00e6\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00ef\u00bc\u00e9\u00aa\u00a8\u00e6\u00b6\u00e7\u00ae\u00e5\u00bd\u00e4\u00bd\u00bf\u00e7\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e7 <b>SKEL<\/b> \u00e7\u00e5\u00e9\u00e6\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ba \/etc\/skel\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e5\u00af\u00e4\u00bb\u00a5\u00ef\u00bc\u00e4\u00b9\u00e5\u00a4\u00e5\u00b6 ACL \u00e5\u00e6\u00a9\u00e5\u00b1\u00e5\u00b1\u00e6\u00a7\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212K<\/b>, <b>\u2212\u2212key\u00a0<\/b><i>KEY<\/i>=<i>VALUE<\/i><\/p>\n<p style=\"margin-left:17%;\">Overrides \/etc\/login.defs defaults (<b>UID_MIN<\/b>, <b>UID_MAX<\/b>, <b>UMASK<\/b>, <b>PASS_MAX_DAYS<\/b> and others).<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Example: <b>\u2212K\u00a0<\/b><i>PASS_MAX_DAYS<\/i>=<i>\u22121<\/i> can be used when creating system account to turn off password aging, even though system account has no password at all. Multiple <b>\u2212K<\/b> options can be specified, e.g.: <b>\u2212K\u00a0<\/b><i>UID_MIN<\/i>=<i>100\u00a0<\/i> <b>\u2212K\u00a0<\/b><i>UID_MAX<\/i>=<i>499<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212l<\/b>, <b>\u2212\u2212no\u2212log\u2212init<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e4\u00b8\u00e8\u00a6\u00e5\u00b0\u00e7\u00a8\u00e6\u00b7\u00e6\u00b7\u00bb\u00e5\u00a0\u00e5\u00b0\u00e6\u00e8\u00bf\u00e7\u00bb\u00e5\u00bd\u00e5\u00e7\u00bb\u00e5\u00bd\u00e5\u00a4\u00b1\u00e8\u00b4\u00a5\u00e6\u00b0\u00e6\u00ae\u00e5\u00ba\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">By default, the user&#8217;s entries in the lastlog and faillog databases are reset to avoid reusing the entry from a previously deleted user.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212m<\/b>, <b>\u2212\u2212create\u2212home<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00a6\u00e6\u00e4\u00b8\u00e5\u00e5\u00a8\u00ef\u00bc\u00e5\u00e5\u00e5\u00bb\u00ba\u00e7\u00a8\u00e6\u00b7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e3\u00e9\u00aa\u00a8\u00e6\u00b6\u00e7\u00ae\u00e5\u00bd\u00e4\u00b8\u00e7\u00e6\u00e4\u00bb\u00b6\u00e5\u00e7\u00ae\u00e5\u00bd(\u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8 <b>\u2212k<\/b> \u00e9\u00e9\u00a1\u00b9\u00e6\u00e5\u00ae)\u00ef\u00bc\u00e5\u00b0\u00e4\u00bc\u00e5\u00a4\u00e5\u00b6\u00e5\u00b0\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ef\u00bc\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00e6\u00a4\u00e9\u00e9\u00a1\u00b9\u00e5\u00b9\u00b6\u00e4\u00b8 <b>CREATE_HOME<\/b> \u00e6\u00b2\u00a1\u00e6\u00e5\u00af\u00e7\u00a8\u00ef\u00bc\u00e4\u00b8\u00e4\u00bc\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212M<\/b>, <b>\u2212\u2212no\u2212create\u2212home<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e4\u00b8\u00e5\u00e5\u00bb\u00ba\u00e7\u00a8\u00e6\u00b7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00ef\u00bc\u00e5\u00b3\u00e4\u00bd\u00bf\u00e7\u00b3\u00bb\u00e7\u00bb\u00e5\u00a8 \/etc\/login.defs \u00e4\u00b8\u00e7\u00e8\u00ae\u00be\u00e7\u00bd\u00ae (<b>CREATE_HOME<\/b>) \u00e4\u00b8\u00ba <i>yes<\/i>\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212N<\/b>, <b>\u2212\u2212no\u2212user\u2212group<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e4\u00b8\u00e8\u00a6\u00e5\u00e5\u00bb\u00ba\u00e5\u00e5\u00e7\u00bb\u00ef\u00bc\u00e8\u00e6\u00af\u00e5\u00b0\u00e7\u00a8\u00e6\u00b7\u00e6\u00b7\u00bb\u00e5\u00a0\u00e5\u00b0 <b>\u2212g<\/b> \u00e9\u00e9\u00a1\u00b9\u00e6\u00e5\u00ae\u00e7\u00e7\u00bb\u00ef\u00bc\u00e6\u00e6\u00a0\u00b9\u00e6\u00ae \/etc\/default\/useradd \u00e4\u00b8\u00e7 <b>GROUP<\/b> \u00e5\u00e9\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae <b>\u2212g<\/b>, <b>\u2212N<\/b> \u00e5 <b>\u2212U<\/b> \u00e9\u00e9\u00a1\u00b9\u00ef\u00bc\u00e9\u00bb\u00e8\u00ae\u00a4\u00e8\u00a1\u00e4\u00b8\u00ba\u00e7\u00b1 \/etc\/login.defs \u00e4\u00b8\u00e7 <b>USERGROUPS_ENAB<\/b> \u00e5\u00e9\u00e6\u00e5\u00ae\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212o<\/b>, <b>\u2212\u2212non\u2212unique<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00e8\u00ae\u00b8\u00e4\u00bd\u00bf\u00e7\u00a8\u00e9\u00e5\u00a4\u00e7 UID \u00e5\u00e5\u00bb\u00ba\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00a4\u00e9\u00e9\u00a1\u00b9\u00e5\u00aa\u00e6\u00e5 <b>\u2212u<\/b> \u00e9\u00e9\u00a1\u00b9\u00e7\u00bb\u00e5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e6\u00e6\u00e6\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212p<\/b>, <b>\u2212\u2212password\u00a0<\/b><i>PASSWORD<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00a0\u00e5\u00af\u00e4\u00ba\u00e7\u00e5\u00af\u00e7\u00a0\u00ef\u00bc\u00e5\u00b0\u00b1\u00e5 <b>crypt<\/b>(3) \u00e7\u00e8\u00bf\u00e5\u00e5\u00bc\u00e3\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ba\u00e7\u00a6\u00e7\u00a8\u00e5\u00af\u00e7\u00a0\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc<\/b>\u00e4\u00b8\u00e6\u00a8\u00e8\u00e4\u00bd\u00bf\u00e7\u00a8\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e9\u00a1\u00b9\u00ef\u00bc\u00e5\u00a0\u00e4\u00b8\u00ba\u00e5\u00af\u00e7\u00a0(\u00e6\u00e5\u00a0\u00e5\u00af\u00e8\u00bf\u00e7\u00e5\u00af\u00e7\u00a0)\u00e4\u00bc\u00e8\u00a2\u00ab\u00e7\u00a8\u00e6\u00b7\u00e9\u00e8\u00bf\u00e5\u00e5\u00ba\u00e8\u00bf\u00e4\u00b8\u00aa\u00e8\u00bf\u00e7\u00a8\u00e8\u00e7\u00e5\u00b0\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00a8\u00e5\u00ba\u00e8\u00af\u00a5\u00e7\u00a1\u00ae\u00e4\u00bf\u00e5\u00af\u00e7\u00a0\u00e7\u00ac\u00a6\u00e5\u00e7\u00b3\u00bb\u00e7\u00bb\u00e7\u00e5\u00af\u00e7\u00a0\u00e6\u00bf\u00e7\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212r<\/b>, <b>\u2212\u2212system<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e7\u00b3\u00bb\u00e7\u00bb\u00e8\u00b4\u00a6\u00e6\u00b7\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">System users will be created with no aging information in \/etc\/shadow, and their numeric identifiers are chosen in the <b>SYS_UID_MIN<\/b>\u2212<b>SYS_UID_MAX<\/b> range, defined in \/etc\/login.defs, instead of <b>UID_MIN<\/b>\u2212<b>UID_MAX<\/b> (and their <b>GID<\/b> counterparts for the creation of groups).<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">Note that <b>useradd<\/b> will not create a home directory for such a user, regardless of the default setting in \/etc\/login.defs (<b>CREATE_HOME<\/b>). You have to specify the <b>\u2212m<\/b> options if you want a home directory for a system account to be created.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212R<\/b>, <b>\u2212\u2212root\u00a0<\/b><i>CHROOT_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">Apply changes in the <i>CHROOT_DIR<\/i> directory and use the configuration files from the <i>CHROOT_DIR<\/i> directory.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212P<\/b>, <b>\u2212\u2212prefix\u00a0<\/b><i>PREFIX_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">Apply changes in the <i>PREFIX_DIR<\/i> directory and use the configuration files from the <i>PREFIX_DIR<\/i> directory. This option does not chroot and is intended for preparing a cross\u2212compilation target. Some limitations: NIS and LDAP users\/groups are not verified. PAM authentication is using the host files. No SELINUX support.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212s<\/b>, <b>\u2212\u2212shell\u00a0<\/b><i>SHELL<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e7\u00e7\u00bb\u00e5\u00bd shell \u00e5\u00e3\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ba\u00e7\u00e7\u00a9\u00ba\u00ef\u00bc\u00e8\u00ae\u00a9\u00e7\u00b3\u00bb\u00e7\u00bb\u00e6\u00a0\u00b9\u00e6\u00ae \/etc\/default\/useradd \u00e4\u00b8\u00e7 <b>SHELL<\/b> \u00e5\u00e9\u00e9\u00e6\u00a9\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7\u00e7\u00bb\u00e5\u00bd shell\u00ef\u00bc\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ba\u00e7\u00a9\u00ba\u00e5\u00e7\u00ac\u00a6\u00e4\u00b8\u00b2\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212u<\/b>, <b>\u2212\u2212uid\u00a0<\/b><i>UID<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7 ID \u00e7\u00e6\u00b0\u00e5\u00e5\u00bc\u00e3\u00e6\u00a4\u00e5\u00bc\u00e5\u00bf\u00e9\u00a1\u00bb\u00e4\u00b8\u00ba\u00e5\u00af\u00e4\u00b8\u00e7\u00ef\u00bc\u00e9\u00a4\u00e9\u00e4\u00bd\u00bf\u00e7\u00a8\u00e4\u00ba <b>\u2212o<\/b> \u00e9\u00e9\u00a1\u00b9\u00e3\u00e6- \u00a4\u00e5\u00bc\u00e5\u00bf\u00e9\u00a1\u00bb\u00e9\u00e8\u00b4\u00ef\u00bc\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00bd\u00bf\u00e7\u00a8\u00e5\u00a4\u00a7\u00e4\u00ba\u00e7\u00e4\u00ba <b>UID_MIN<\/b>\u00ef\u00bc\u00e4\u00b8\u00e5\u00a4\u00a7\u00e4\u00ba\u00e4\u00bb\u00bb\u00e4\u00bd\u00e5\u00b6\u00e4\u00bb\u00e7\u00a8\u00e6\u00b7 ID \u00e6\u00e5\u00b0\u00e5\u00bc\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e8\u00af\u00b7\u00e5\u00e8 <b>\u2212r<\/b> \u00e9\u00e9\u00a1\u00b9\u00e5 <b>UID_MAX<\/b> \u00e7\u00e6\u00e8\u00bf\u00b0\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212U<\/b>, <b>\u2212\u2212user\u2212group<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e5\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00e7\u00e7\u00bb\u00ef\u00bc\u00e5\u00b9\u00b6\u00e5\u00b0\u00e7\u00a8\u00e6\u00b7\u00e6\u00b7\u00bb\u00e5\u00a0\u00e5\u00b0\u00e7\u00bb\u00e4\u00b8\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae <b>\u2212g<\/b>, <b>\u2212N<\/b> \u00e5 <b>\u2212U<\/b> \u00e9\u00e9\u00a1\u00b9\u00ef\u00bc\u00e9\u00bb\u00e8\u00ae\u00a4\u00e8\u00a1\u00e4\u00b8\u00ba\u00e7\u00b1 \/etc\/login.defs \u00e4\u00b8\u00e7 <b>USERGROUPS_ENAB<\/b> \u00e5\u00e9\u00e6\u00e5\u00ae\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212Z<\/b>, <b>\u2212\u2212selinux\u2212user\u00a0<\/b><i>SEUSER<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e7\u00bb\u00e9\u00e7 SELinux \u00e7\u00a8\u00e6\u00b7\u00e3\u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ba\u00e7\u00e7\u00a9\u00ba\u00ef\u00bc\u00e8\u00bf\u00e4\u00bc\u00e9\u00a0\u00e6\u00e7\u00b3\u00bb\u00e7\u00bb\u00e9\u00e6\u00a9\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7 SELinux \u00e7\u00a8\u00e6\u00b7\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u00e6\u00b4\u00e6\u00b9\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc<\/b> <br \/> \u00e5\u00aa\u00e5\u00b8\u00a6 <b>\u2212D<\/b> \u00e9\u00e9\u00a1\u00b9\u00e4\u00bd\u00bf\u00e7\u00a8\u00e6\u00b6\u00ef\u00bc<b>useradd<\/b> \u00e5\u00b0\u00e6\u00be\u00e7\u00a4\u00ba\u00e5\u00bd\u00e5\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e3<b>\u2212D<\/b> \u00e5\u00e5\u00b6\u00e5\u00ae\u00e9\u00e9\u00a1\u00b9\u00e9\u00e5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e6\u00b6\u00ef\u00bc<b>useradd<\/b> \u00e5\u00b0\u00e4\u00b8\u00ba\u00e6\u00e5\u00ae\u00e7\u00e9\u00e9\u00a1\u00b9\u00e6\u00b4\u00e6\u00b0\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e3\u00e6\u00e6\u00e7\u201c\u00e6\u00b4\u00e6\u00b9\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u201d\u00e9\u00e9\u00a1\u00b9\u00e6\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212b<\/b>, <b>\u2212\u2212base\u2212dir\u00a0<\/b><i>BASE_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e7\u00e8\u00b7\u00af\u00e5\u00be\u00e5\u00e7\u00bc\u00e3\u00e5\u00a6\u00e6\u00e5\u00e5\u00bb\u00ba\u00e6\u00b0\u00e8\u00b4\u00a6\u00e6\u00b7\u00e6\u00b6\u00ef\u00bc\u00e6\u00b2\u00a1\u00e6\u00e4\u00bd\u00bf\u00e7\u00a8 <b>\u2212d<\/b> \u00e9\u00e9\u00a1\u00b9\u00ef\u00bc\u00e7\u00a8\u00e6\u00b7\u00e7\u00e5\u00e7\u00a7\u00b0\u00e5\u00b0\u00e4\u00bc\u00e7\u00bc\u00e5\u00a8 <i>BASE_DIR<\/i> \u00e7\u00e5\u00e8\u00be\u00b9\u00e5\u00bd\u00a2\u00e6\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e5\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e6\u00a9\u00e5\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e8\u00ae\u00be\u00e7\u00bd\u00ae <b>HOME<\/b> \u00e9\u00e9\u00a1\u00b9\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212e<\/b>, <b>\u2212\u2212expiredate\u00a0<\/b><i>EXPIRE_DATE<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a6\u00e7\u00a8\u00e6\u00a4\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e7\u00e6\u00a5\u00e6\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00a4\u00e9\u00e9\u00a1\u00b9\u00e5\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e8\u00ae\u00be\u00e7\u00bd\u00ae <b>EXPIRE<\/b> \u00e5\u00e9\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212f<\/b>, <b>\u2212\u2212inactive\u00a0<\/b><i>INACTIVE<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00af\u00e7\u00a0\u00e8\u00bf\u00e6\u00e5\u00b0\u00e8\u00b4\u00a6\u00e6\u00b7\u00e8\u00a2\u00ab\u00e7\u00a6\u00e7\u00a8\u00e4\u00b9\u00e5\u00e7\u00e5\u00a4\u00a9\u00e6\u00b0\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e9\u00a1\u00b9\u00e5\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e8\u00ae\u00be\u00e7\u00bd\u00ae <b>INACTIVE<\/b> \u00e5\u00e9\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212g<\/b>, <b>\u2212\u2212gid\u00a0<\/b><i>GROUP<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00a7\u00e7\u00bb\u00e7\u00e7\u00bb\u00e5\u00e6 ID (\u00e4\u00bd\u00bf\u00e7\u00a8\u00e4\u00ba <b>\u2212N\/\u2212\u2212no\u2212user\u2212group<\/b> \u00e6\u00e8 \/etc\/login.defs \u00e4\u00b8\u00e7\u00e5\u00e9 <b>USERGROUPS_ENAB<\/b> \u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba <i>no<\/i> \u00e6\u00b6)\u00e3\u00e7\u00bb\u00e5\u00ba\u00e7\u00e7\u00bb\u00e5\u00bf\u00e9\u00a1\u00bb\u00e5\u00e5\u00a8\u00ef\u00bc\u00e5\u00b9\u00b6\u00e4\u00b8\u00e6\u00b0\u00e5\u00e7\u00bb ID \u00e5\u00bf\u00e9\u00a1\u00bb\u00e6\u00e4\u00b8\u00e4\u00b8\u00aa\u00e5\u00b7\u00b2\u00e7\u00bb\u00e5\u00e5\u00a8\u00e7\u00e9\u00a1\u00b9\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e9\u00a1\u00b9\u00e5\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e8\u00ae\u00be\u00e7\u00bd\u00ae <b>GROUP<\/b> \u00e5\u00e9\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212s<\/b>, <b>\u2212\u2212shell\u00a0<\/b><i>SHELL<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e7\u00e7\u00bb\u00e5\u00bd shell \u00e5\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e9\u00a1\u00b9\u00e5\u00a8 \/etc\/default\/useradd \u00e8\u00ae\u00be\u00e7\u00bd\u00ae <b>SHELL<\/b> \u00e5\u00e9\u00e3<\/p>\n<h2>\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc <a name=\"\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e7\u00b3\u00bb\u00e7\u00bb\u00e7\u00ae\u00a1\u00e7\u00e5\u00e8\u00b4\u00e8\u00b4\u00a3\u00e5\u00b0\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7\u00e7\u00a8\u00e6\u00b7\u00e6\u00e4\u00bb\u00b6\u00e6\u00be\u00e5\u00a8 \/etc\/skel\/ \u00e7\u00ae\u00e5\u00bd\u00e4\u00b8- (\u00e6\u00e8\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e4\u00b8\u00e3\/etc\/default\/useradd \u00e4\u00b8\u00e6\u00e5\u00ae\u00e7\u00e4\u00bb\u00bb\u00e4\u00bd\u00e5\u00b6\u00e5\u00ae\u00e7\u00ae\u00e5\u00bd)\u00e3<\/p>\n<h2>CAVEATS <a name=\"CAVEATS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e6\u00a8\u00e5\u00af\u00e8\u00bd\u00e4\u00b8\u00e8\u00bd\u00e6\u00b3 NIS \u00e7\u00bb\u00e6 LDAP \u00e7\u00bb\u00e6\u00b7\u00bb\u00e5\u00a0\u00e7\u00a8\u00e6\u00b7\u00e3\u00e8\u00bf\u00e5\u00aa\u00e8\u00bd\u00e5\u00a8\u00e7\u00b8\u00e5\u00ba\u00e6\u00e5\u00a1\u00e5\u00a8\u00e4\u00b8\u00e8\u00bf\u00e8\u00a1\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e7\u00b8\u00e4\u00bc\u00bc\u00e5\u00b0\u00ef\u00bc\u00e5\u00a6\u00e6\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00b7\u00b2\u00e7\u00bb\u00e5\u00e5\u00a8\u00e4\u00ba\u00e5\u00a4\u00e9\u00a8\u00e7\u00a8\u00e6\u00b7\u00e6\u00b0\u00e6\u00ae\u00e5\u00ba\u00e4\u00b8\u00ef\u00bc\u00e6\u00af\u00e5\u00a6 NIS \u00e6 LDAP\u00ef\u00bc<b>useradd<\/b> \u00e5\u00b0\u00e6\u00e7\u00bb\u00e5\u00e5\u00bb\u00ba\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e7\u00e8\u00af\u00b7\u00e6\u00b1\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00bf\u00e9\u00a1\u00bb\u00e4\u00bb\u00a5\u00e4\u00b8\u00e4\u00b8\u00aa\u00e5\u00b0\u00e5\u00e5\u00e6\u00af\u00e6\u00e4\u00b8\u00e5\u00e7\u00ba\u00bf\u00e5\u00bc\u00e5\u00a7\u00ef\u00bc\u00e8\u00b7\u00e9\u00e5\u00b0\u00e5\u00e5\u00e7\u00ac\u00a6\u00e3\u00e6\u00b0\u00e5\u00e3\u00e4\u00b8\u00e5\u00e7\u00ba\u00bf\u00e6\u00e8\u00bf\u00e5- \u00e7\u00ac\u00a6\u00e7\u00e7\u00bb\u00e5\u00e3\u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bb\u00a5\u00e7\u00be\u00e5\u00e7\u00ac\u00a6\u00e5\u00b7\u00e7\u00bb\u00e6\u00e3\u00e7\u00a8\u00e6- \u00a3\u00e5\u00e8\u00a1\u00a8\u00e8\u00be\u00be\u00e5\u00bc\u00e8\u00a1\u00a8\u00e7\u00a4\u00ba\u00e5\u00b0\u00b1\u00e6\u00af\u00ef\u00bc[a\u2212z_][a\u2212z0\u22129_\u2212]*[$]?<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e7\u00a8\u00e6\u00b7\u00e5\u00e4\u00b8\u00e8\u00bd\u00e8\u00b6\u00e8\u00bf 32 \u00e4\u00b8\u00aa\u00e5\u00e7\u00ac\u00a6\u00e9\u00bf\u00e3<\/p>\n<h2>\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6 <a name=\"\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e5\u00a8 \/etc\/login.defs \u00e4\u00b8\u00e6\u00e5\u00a6\u00e4\u00b8\u00e9\u00e7\u00bd\u00ae\u00e5\u00e9\u00ef\u00bc\u00e5\u00af\u00e4\u00bb\u00a5\u00e7\u00a8\u00e6\u00a5\u00e6\u00b4\u00e6\u00b9\u00e6\u00a4\u00e5\u00b7\u00a5\u00e5\u00b7\u00e7\u00e8\u00a1\u00e4\u00b8\u00ba\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>CREATE_HOME<\/b> (boolean)<\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00e7\u00a4\u00ba\u00e6\u00af\u00e5\u00a6\u00e5\u00ba\u00e8\u00af\u00a5\u00e4\u00b8\u00ba\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00a4\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e5\u00b9\u00b6\u00e4\u00b8\u00e5\u00ba\u00e7\u00a8\u00e5\u00b0\u00e7\u00b3\u00bb\u00e7\u00bb\u00e7\u00a8\u00e6\u00b7\u00ef\u00bc\u00e5\u00b9\u00b6\u00e4\u00b8\u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e8\u00a6\u00e7\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>GID_MAX<\/b> (number), <b>GID_MIN<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\"><b>useradd<\/b>\u00ef\u00bc<b>groupadd<\/b> \u00e6 <b>newusers<\/b> \u00e5\u00e5\u00bb\u00ba\u00e7\u00e5\u00b8\u00b8\u00e8\u00a7\u00e7\u00bb\u00e7\u00e7\u00bb ID \u00e7\u00e8\u00e5\u00b4\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>GID_MIN<\/b> \u00e5 <b>GID_MAX<\/b> \u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e5\u00e5\u00ab\u00e6\u00af 1000 \u00e5 60000\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MAIL_DIR<\/b> (string)<\/p>\n<p style=\"margin-left:17%;\">\u00e9\u00ae\u00e7\u00ae\u00b1\u00e7\u00ae\u00e5\u00bd\u00e3\u00e4\u00bf\u00ae\u00e6\u00b9\u00e6\u00e5\u00a0\u00e9\u00a4\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e6\u00b6\u00e9\u00e8\u00a6\u00e5\u00a4\u00e7\u00e9\u00ae\u00e7\u00ae\u00b1\u00ef\u00bc\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00ef\u00bc\u00e5\u00b0\u00e4\u00bd\u00bf\u00e7\u00a8\u00e7\u00bc\u00e8\u00af\u00e6\u00b6\u00e6\u00e5\u00ae\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MAIL_FILE<\/b> (string)<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00ae\u00e4\u00b9\u00e7\u00a8\u00e6\u00b7\u00e9\u00ae\u00e7\u00ae\u00b1\u00e6\u00e4\u00bb\u00b6\u00e7\u00e4\u00bd\u00e7\u00bd\u00ae(\u00e7\u00b8\u00e5\u00af\u00b9\u00e4\u00ba\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd)\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MAIL_DIR<\/b> and <b>MAIL_FILE<\/b> \u00e5\u00e9\u00e7\u00b1 <b>useradd<\/b>\u00ef\u00bc<b>usermod<\/b> \u00e5 <b>userdel<\/b> \u00e7\u00a8\u00e4\u00ba\u00e5\u00e5\u00bb\u00ba\u00e3\u00e7\u00a7\u00bb\u00e5\u00a8\u00e6\u00e5\u00a0\u00e9\u00a4\u00e7\u00a8\u00e6\u00b7\u00e9\u00ae\u00e7\u00ae\u00b1\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e5\u00a6\u00e6 <b>MAIL_CHECK_ENAB<\/b> \u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba <i>yes<\/i>\u00ef\u00bc\u00e5\u00ae\u00e4\u00bb\u00ac\u00e4\u00b9\u00e8\u00a2\u00ab\u00e7\u00a8\u00e4\u00ba\u00e5\u00ae\u00e4\u00b9 <b>MAIL<\/b> \u00e7\u00af\u00e5\u00a2\u00e5\u00e9\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>MAX_MEMBERS_PER_GROUP<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00af\u00e4\u00b8\u00aa\u00e7\u00bb\u00e6\u00a1\u00e7\u00ae\u00e7\u00e6\u00e5\u00a4\u00a7\u00e6\u00e5\u00e6\u00b0\u00e3\u00e8\u00be\u00be\u00e5\u00b0\u00e6\u00e5\u00a4\u00a7\u00e5\u00bc\u00e6\u00b6\u00ef\u00bc\u00e5\u00a8 \/etc\/group \u00e5\u00bc\u00e5\u00a7\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00b0\u00e6\u00a1\u00e7\u00ae(\u00e8\u00a1)(\u00e4\u00bd\u00bf\u00e7\u00a8\u00e5\u00e6\u00a0\u00b7\u00e7\u00e5\u00e7\u00a7\u00b0\u00ef\u00bc\u00e5\u00e6\u00a0\u00b7\u00e7\u00e5\u00af\u00e7\u00a0\u00ef\u00bc\u00e5\u00e6\u00a0\u00b7\u00e7 GID)\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e6\u00af 0\u00ef\u00bc\u00e6\u00e5\u00b3\u00e7\u00e7\u00bb\u00e4\u00b8\u00e7\u00e6\u00e5\u00e6\u00b0\u00e6\u00b2\u00a1\u00e6\u00e9\u00e5\u00b6\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00a4\u00e5\u00e8\u00bd(\u00e5\u00e5\u00b2\u00e7\u00bb)\u00e5\u00e8\u00ae\u00b8\u00e9\u00e5\u00b6\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6\u00e4\u00b8\u00e7\u00e8\u00a1\u00e9\u00bf\u00e5\u00ba\u00a6\u00e3\u00e8\u00bf\u00e5\u00af\u00b9\u00e4\u00ba\u00e7\u00a1\u00ae\u00e4\u00bf NIS \u00e7\u00bb\u00e7\u00e8\u00a1\u00e6\u00af\u00e9\u00bf\u00e4\u00ba 1024 \u00e5\u00e7\u00ac\u00a6\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e8\u00a6\u00e5\u00bc\u00ba\u00e5\u00b6\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e5\u00b6\u00ef\u00bc\u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8 25\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc\u00e5\u00e5\u00b2\u00e7\u00bb\u00e5\u00af\u00e8\u00bd\u00e4\u00b8\u00e5\u00e6\u00e6\u00e5\u00b7\u00a5\u00e5\u00b7\u00e7\u00e6\u00af\u00e6(\u00e7\u00e8\u00b3\u00e5\u00a8 Shadow \u00e5\u00b7\u00a5\u00e5\u00b7\u00e9\u00e4\u00b8- )\u00e3\u00e6\u00a8\u00e4\u00b8\u00e5\u00ba\u00e8\u00af\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e8\u00bf\u00e4\u00b8\u00aa\u00e5\u00e9\u00ef\u00bc\u00e9\u00a4\u00e9\u00e7\u00e7\u00e9\u00e8\u00a6\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>PASS_MAX_DAYS<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">\u00e4\u00b8\u00e4\u00b8\u00aa\u00e5\u00af\u00e7\u00a0\u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e7\u00e6\u00e5\u00a4\u00a7\u00e5\u00a4\u00a9\u00e6\u00b0\u00e3\u00e5\u00a6\u00e6\u00e5\u00af\u00e7\u00a0\u00e6\u00af\u00e8\u00bf\u00e6\u00a7\u00ef\u00bc\u00e5\u00b0\u00e4\u00bc\u00e5\u00bc\u00ba\u00e8\u00bf\u00ab\u00e6\u00b4\u00e6\u00b9\u00e5\u00af\u00e7\u00a0\u00e3\u00e5\u00a6\u00e6\u00e4\u00b8\u00e6\u00e5\u00ae\u00ef\u00bc\u00e5\u00b0\u00b1\u00e5\u00e5\u00ae\u00e4\u00b8\u00ba \u22121\u00ef\u00bc\u00e8\u00bf\u00e4\u00bc\u00e7\u00a6\u00e7\u00a8\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e5\u00b6\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>PASS_MIN_DAYS<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">\u00e4\u00b8\u00a4\u00e6\u00ac\u00a1\u00e6\u00b4\u00e6\u00b9\u00e5\u00af\u00e7\u00a0\u00e6\u00b6\u00e9\u00b4\u00e7\u00e6\u00e5\u00b0\u00e9\u00b4\u00e9\u00e3\u00e5\u00b0\u00e4\u00bc\u00e6\u00e7\u00bb\u00e4\u00bb\u00bb\u00e4\u00bd\u00e6\u00a9\u00e4\u00ba\u00e6- \u00a4\u00e7\u00e6\u00b4\u00e6\u00b9\u00e5\u00af\u00e7\u00a0\u00e7\u00e5\u00b0\u00e8\u00af\u00e3\u00e5\u00a6\u00e6\u00e4\u00b8\u00e6\u00e5\u00ae\u00ef\u00bc\u00e5\u00e5\u00ae\u00e4\u00b8\u00ba \u22121\u00ef\u00bc\u00e5\u00b0\u00e4\u00bc\u00e7\u00a6\u00e7\u00a8\u00e8\u00bf\u00e4\u00b8\u00aa\u00e9\u00e5\u00b6\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>PASS_WARN_AGE<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00af\u00e7\u00a0\u00e8\u00bf\u00e6\u00e4\u00b9\u00e5\u00e7\u00bb\u00e5\u00ba\u00e8\u00a6\u00e5\u00e7\u00e5\u00a4\u00a9\u00e6\u00b0\u00e30 \u00e8\u00a1\u00a8\u00e7\u00a4\u00ba\u00e5\u00aa\u00e6\u00e5\u00aa\u00e5\u00a8\u00e8\u00bf\u00e6\u00e7\u00e5\u00bd\u00e5\u00a4\u00a9\u00e8\u00a6\u00e5\u00ef\u00bc\u00e8\u00b4\u00e5\u00bc\u00e8\u00a1\u00a8\u00e7\u00a4\u00ba\u00e4\u00b8\u00e8- \u00a6\u00e5\u00e3\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00ef\u00bc\u00e4\u00b8\u00e4\u00bc\u00e7\u00bb\u00e8\u00a6\u00e5\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SUB_GID_MIN<\/b> (number), <b>SUB_GID_MAX<\/b> (number), <b>SUB_GID_COUNT<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">If \/etc\/subuid exists, the commands <b>useradd<\/b> and <b>newusers<\/b> (unless the user already have subordinate group IDs) allocate <b>SUB_GID_COUNT<\/b> unused group IDs from the range <b>SUB_GID_MIN<\/b> to <b>SUB_GID_MAX<\/b> for each new user.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The default values for <b>SUB_GID_MIN<\/b>, <b>SUB_GID_MAX<\/b>, <b>SUB_GID_COUNT<\/b> are respectively 100000, 600100000 and 10000.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SUB_UID_MIN<\/b> (number), <b>SUB_UID_MAX<\/b> (number), <b>SUB_UID_COUNT<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">If \/etc\/subuid exists, the commands <b>useradd<\/b> and <b>newusers<\/b> (unless the user already have subordinate user IDs) allocate <b>SUB_UID_COUNT<\/b> unused user IDs from the range <b>SUB_UID_MIN<\/b> to <b>SUB_UID_MAX<\/b> for each new user.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The default values for <b>SUB_UID_MIN<\/b>, <b>SUB_UID_MAX<\/b>, <b>SUB_UID_COUNT<\/b> are respectively 100000, 600100000 and 10000.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SYS_GID_MAX<\/b> (number), <b>SYS_GID_MIN<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\"><b>useradd<\/b>\u00e3<b>groupadd<\/b> \u00e6 <b>newusers<\/b> \u00e5\u00e5\u00bb\u00ba\u00e7\u00e7\u00b3\u00bb\u00e7\u00bb\u00e7\u00bb\u00e7\u00e7\u00bb ID \u00e7\u00e8\u00e5\u00b4\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>SYS_GID_MIN<\/b> \u00e5 <b>SYS_GID_MAX<\/b> \u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e5\u00e5\u00ab\u00e6\u00af 101 \u00e5 <b>GID_MIN<\/b>\u22121\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SYS_UID_MAX<\/b> (number), <b>SYS_UID_MIN<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\"><b>useradd<\/b> \u00e6 <b>newusers<\/b> \u00e5\u00e5\u00bb\u00ba\u00e7\u00e7\u00b3\u00bb\u00e7\u00bb\u00e7\u00a8\u00e6\u00b7\u00e7\u00e7\u00a8\u00e6\u00b7 ID \u00e7\u00e8\u00e5\u00b4\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>SYS_UID_MIN<\/b> \u00e5 <b>SYS_UID_MAX<\/b> \u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e5\u00e5\u00ab\u00e6\u00af 101 \u00e5 <b>UID_MIN<\/b>\u22121\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>UID_MAX<\/b> (number), <b>UID_MIN<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\"><b>useradd<\/b> \u00e6 <b>newusers<\/b> \u00e5\u00e5\u00bb\u00ba\u00e7\u00e6\u00ae\u00e9\u00e7\u00a8\u00e6\u00b7\u00e7\u00e7\u00a8\u00e6\u00b7 ID \u00e7\u00e8\u00e5\u00b4\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>UID_MIN<\/b> \u00e5 <b>UID_MAX<\/b> \u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e5\u00e5\u00ab\u00e6\u00af 1000 \u00e5 60000\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>UMASK<\/b> (number)<\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00e4\u00bb\u00b6\u00e6\u00a8\u00a1\u00e5\u00bc\u00e5\u00e5\u00bb\u00ba\u00e6\u00a9\u00e7\u00a0\u00e5\u00e5\u00a7\u00e5\u00e4\u00b8\u00ba\u00e6\u00a4\u00e5\u00bc\u00e3\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00ef\u00bc\u00e6\u00a9\u00e7\u00a0\u00e5\u00e5\u00a7\u00e5\u00e4\u00b8\u00ba 022\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><b>useradd<\/b> \u00e5 <b>newusers<\/b> \u00e4\u00bd\u00bf\u00e7\u00a8\u00e6\u00a4\u00e6\u00a9\u00e7\u00a0\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e5\u00ae\u00e4\u00bb\u00ac\u00e5\u00e5\u00bb\u00ba\u00e7\u00e7\u00a8\u00e6\u00b7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e7\u00e6\u00a8\u00a1\u00e5\u00bc\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e4\u00b9\u00e8\u00a2\u00ab <b>login<\/b> \u00e7\u00a8\u00e4\u00ba\u00e6\u00e5\u00ae\u00e7\u00a8\u00e6\u00b7\u00e7\u00e5\u00e5\u00a7 umask\u00e3\u00e6\u00b3\u00a8\u00e6\u00ef\u00bc\u00e6\u00a4\u00e6\u00a9\u00e7\u00a0\u00e5\u00af\u00e4\u00bb\u00a5\u00e8\u00a2\u00ab\u00e7\u00a8\u00e6\u00b7\u00e7 GECOS \u00e8\u00a1\u00e8\u00a6\u00e7(\u00e5\u00bd\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00ba <b>QUOTAS_ENAB<\/b> \u00e6\u00b6)\u00ef\u00bc\u00e4\u00b9\u00e5\u00af\u00e4\u00bb\u00a5\u00e8\u00a2\u00ab\u00e5\u00b8\u00a6 <i>K<\/i> \u00e6\u00e7\u00a4\u00ba\u00e7\u00ac\u00a6\u00e7 <b>limits<\/b>(5) \u00e5\u00ae\u00e4\u00b9\u00e7\u00e9\u00e5\u00b6\u00e5\u00bc\u00e8\u00a6\u00e7\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>USERGROUPS_ENAB<\/b> (boolean)<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00a6\u00e6 uid \u00e5 gid \u00e7\u00b8\u00e5\u00ef\u00bc\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00e4\u00b8\u00bb\u00e7\u00a8\u00e6\u00b7\u00e5\u00e4\u00b9\u00e7\u00b8\u00e5\u00ef\u00bc\u00e4\u00bd\u00bf\u00e9 root \u00e7\u00bb\u00e7\u00e7\u00bb\u00e6\u00a9\u00e7\u00a0\u00e4\u00bd\u00e5\u00e5\u00b1\u00e4\u00b8\u00bb\u00e4\u00bd\u00e7\u00b8\u00e5 (\u00e5\u00a6\u00ef\u00bc022 \u2212> 002, 077 \u2212> 007)\u00e3<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba <i>yes<\/i>\u00ef\u00bc\u00e5\u00a6\u00e6\u00e7\u00bb\u00e4\u00b8\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00e4\u00ba\u00ef\u00bc<b>userdel<\/b> \u00e5\u00b0\u00e7\u00a7\u00bb\u00e9\u00a4\u00e6\u00a4\u00e7\u00a8\u00e6\u00b7\u00e7\u00bb\u00ef\u00bc<b>useradd<\/b> \u00e5\u00e5\u00bb\u00ba\u00e7\u00a8\u00e6\u00b7\u00e6\u00b6\u00ef\u00bc\u00e4\u00b9\u00e4\u00bc\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e5\u00e5\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7\u00bb\u00e3<\/p>\n<h2>\u00e6\u00e4\u00bb\u00b6 <a name=\"\u00e6\u00e4\u00bb\u00b6\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/passwd<\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/shadow<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00ae\u00e5\u00a8\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/group<\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00bb\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/gshadow<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00ae\u00e5\u00a8\u00e7\u00bb\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/default\/useradd<\/p>\n<p style=\"margin-left:17%;\">\u00e8\u00b4\u00a6\u00e6\u00b7\u00e5\u00e5\u00bb\u00ba\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/skel\/<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00e5\u00ab\u00e9\u00bb\u00e8\u00ae\u00a4\u00e6\u00e4\u00bb\u00b6\u00e7\u00e7\u00ae\u00e5\u00bd\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/subgid<\/p>\n<p style=\"margin-left:17%;\">Per user subordinate group IDs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/subuid<\/p>\n<p style=\"margin-left:17%;\">Per user subordinate user IDs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/login.defs<\/p>\n<p style=\"margin-left:17%;\">Shadow \u00e5\u00af\u00e7\u00a0\u00e5\u00a5\u00e4\u00bb\u00b6\u00e9\u00e7\u00bd\u00ae\u00e3<\/p>\n<h2>\u00e9\u00e5\u00ba\u00e5\u00bc <a name=\"\u00e9\u00e5\u00ba\u00e5\u00bc\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>useradd<\/b> \u00e5\u00af\u00e4\u00bb\u00a5\u00e8\u00bf\u00e5\u00e5\u00a6\u00e4\u00b8\u00e5\u00bc\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>0<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00e5<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>1<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00b3\u00e6\u00b4\u00e6\u00b0\u00e5\u00af\u00e7\u00a0\u00e6\u00e4\u00bb\u00b6<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>2<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00e7\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00af\u00e6\u00b3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>3<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00bb\u00e4\u00ba\u00e9\u00e9\u00a1\u00b9\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00a0\u00e6\u00e7\u00e5\u00e6\u00b0<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>4<\/i><\/p>\n<p style=\"margin-left:17%;\">UID \u00e5\u00b7\u00b2\u00e7\u00bb\u00e4\u00bd\u00bf\u00e7\u00a8 (\u00e4\u00b8\u00e6\u00b2\u00a1\u00e6 <b>\u2212o<\/b>)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>6<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00e5\u00ae\u00e7\u00e7\u00bb\u00e4\u00b8\u00e5\u00e5\u00a8<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>9<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00b7\u00b2\u00e8\u00a2\u00ab\u00e4\u00bd\u00bf\u00e7\u00a8<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>10<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00b3\u00e6\u00b4\u00e6\u00b0\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>12<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00b3\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>14<\/i><\/p>\n<p style=\"margin-left:17%;\">can&#8217;t update SELinux user mapping<\/p>\n<h2>\u00e5\u00e8\u00a7 <a name=\"\u00e5\u00e8\u00a7\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>chfn<\/b>(1), <b>chsh<\/b>(1), <b>passwd<\/b>(1), <b>crypt<\/b>(3), <b>groupadd<\/b>(8), <b>groupdel<\/b>(8), <b>groupmod<\/b>(8), <b>login.defs<\/b>(5), <b>newusers<\/b>(8), <b>subgid<\/b>(5), <b>subuid<\/b>(5), <b>userdel<\/b>(8), <b>usermod<\/b>(8).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>USERADD \u00e5\u00e7\u00a7\u00b0 \u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 \u00e6\u00e8\u00bf\u00b0 \u00e9\u00e9\u00a1\u00b9 \u00e6\u00b3\u00a8\u00e6\u00ef\u00bc CAVEATS \u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6 \u00e6\u00e4\u00bb\u00b6 \u00e9\u00e5\u00ba\u00e5\u00bc \u00e5\u00e8\u00a7 \u00e5\u00e7\u00a7\u00b0 useradd \u2212 \u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e6\u00e6\u00b4\u00e6\u00b0\u00e9\u00bb\u00e8\u00ae\u00a4\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af \u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 useradd [\u00e9\u00e9\u00a1\u00b9] \u00e7\u00bb\u00e5\u00bd useradd \u2212D useradd \u2212D [\u00e9\u00e9\u00a1\u00b9] \u00e6\u00e8\u00bf\u00b0 \u00e5\u00a6\u00e6\u00e4\u00bd\u00bf\u00e7\u00a8\u00e6\u00b6\u00e4\u00b8\u00e5\u00b8\u00a6 \u2212D \u00e9\u00e9\u00a1\u00b9\u00ef\u00bcuseradd \u00e5\u00bd\u00e4\u00bb\u00a4\u00e4\u00bd\u00bf\u00e7\u00a8\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e4\u00b8\u00e6\u00e5\u00ae\u00e7\u00e5\u00bc\u00e5\u00e7\u00b3\u00bb\u00e7\u00bb\u00e7\u00e9\u00bb\u00e8\u00ae\u00a4\u00e5\u00bc\u00e5\u00e5\u00bb\u00ba\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e3\u00e6\u00a0\u00b9\u00e6\u00ae\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00a1\u00e9\u00e9\u00a1\u00b9\u00ef\u00bcuseradd \u00e5\u00bd\u00e4\u00bb\u00a4\u00e4\u00b9\u00e4\u00bc\u00e6\u00b4\u00e6\u00b0\u00e7\u00b3\u00bb\u00e7\u00bb\u00e6\u00e4\u00bb\u00b6\u00e5\u00e5\u00e5\u00bb\u00ba\u00e6\u00b0\u00e7\u00a8\u00e6\u00b7\u00e7\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e5\u00b9\u00b6\u00e5\u00a4\u00e5\u00b6\u00e5\u00e5\u00a7\u00e6\u00e4\u00bb\u00b6\u00e3 \u00e9\u00bb\u00e8\u00ae\u00a4\u00e4\u00b8\u00ef\u00bc\u00e4\u00b9\u00e4\u00bc\u00e4\u00b8\u00ba\u00e7\u00a8\u00e6\u00b7\u00e5\u00e5\u00bb\u00ba\u00e7\u00bb (\u00e5\u00af\u00e7 \u2212g, \u2212N, \u2212U\u00ef\u00bc\u00e5 USERGROUPS_ENAB)\u00e3 \u00e9\u00e9\u00a1\u00b9 useradd \u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e7\u00e9\u00e9\u00a1\u00b9\u00e6\u00ef\u00bc \u2212b, \u2212\u2212base\u2212dir\u00a0BASE_DIR \u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e4\u00bd\u00bf\u00e7\u00a8 \u2212d\u00a0HOME_DIR\u00ef\u00bc\u00e5\u00e4\u00bd\u00bf\u00e7\u00a8\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7\u00e5\u00ba\u00e7\u00ae\u00e5\u00bd\u00e3BASE_DIR \u00e5\u00a0\u00e4\u00b8\u00e8\u00b4\u00a6\u00e6\u00b7\u00e5\u00e5\u00b0\u00b1\u00e6\u00af\u00e4\u00b8\u00bb\u00e7\u00ae\u00e5\u00bd\u00e3\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e4\u00bd\u00bf\u00e7\u00a8 \u2212m \u00e9\u00e9\u00a1\u00b9\u00ef\u00bcBASE_DIR \u00e5\u00bf\u00e9\u00a1\u00bb\u00e5\u00b7\u00b2\u00e7\u00bb\u00e5- \u00e5\u00a8\u00e3 \u00e5\u00a6\u00e6\u00e9\u00e9\u00a1\u00b9\u00e6\u00b2\u00a1\u00e6\u00e6\u00e5\u00ae\u00ef\u00bcuseradd \u00e5\u00b0\u00e4\u00bd\u00bf\u00e7\u00a8 \/etc\/default\/useradd \u00e4\u00b8\u00e7 HOME \u00e5\u00e9\u00ef\u00bc\u00e6\u00e8\u00e9\u00bb\u00e8\u00ae\u00a4\u00e7 \/home\u00e3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,932,1284],"class_list":["post-4252","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-useradd","tag-zh_cn"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4252"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4252\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}