1 --- tinylogin-1.4/adduser.c.orig 2004-09-30 18:01:46.000000000 +0200
2 +++ tinylogin-1.4/adduser.c 2004-09-30 18:07:01.000000000 +0200
4 struct option long_options[] = {
5 { "home", 1, NULL, 'h' },
6 { "disabled-password", 0, NULL, 'D' },
7 + { "empty-password", 0, NULL, 'E' },
8 { "system", 0, NULL, 'S' },
9 { "ingroup", 1, NULL, 'G' },
10 { "no-create-home", 0, NULL, 'H' },
12 shell = default_shell;
15 - while ((opt = getopt_long (argc, argv, "h:g:s:G:DSH", long_options, &option_index)) != -1) {
16 + while ((opt = getopt_long (argc, argv, "h:g:s:G:DESH", long_options, &option_index)) != -1) {
32 /* create a passwd struct */
33 pw.pw_name = (char *)login;
34 - pw.pw_passwd = (char *)default_passwd;
36 + pw.pw_passwd = (char *)default_passwd;
38 + pw.pw_passwd = (char *)"";
43 pw.pw_gecos = (char *)gecos;