* mkpasswd.c (enum_users): Use /bin/bash as the default shell.

(main): Ditto.
This commit is contained in:
Christopher Faylor 2001-05-01 14:50:54 +00:00
parent 4c265f4ab9
commit edcd155ce6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue May 1 10:50:48 2001 Christopher Faylor <cgf@cygnus.com>
* mkpasswd.c (enum_users): Use /bin/bash as the default shell.
(main): Ditto.
Sat Apr 28 22:32:01 2001 Christopher Faylor <cgf@cygnus.com>
* passwd.cc (ttymnam): New function.

View File

@ -205,7 +205,7 @@ enum_users (LPWSTR servername, int print_sids, int print_cygpath,
}
}
}
printf ("%s::%d:%d:%s%s%s:%s:/bin/sh\n", username,
printf ("%s::%d:%d:%s%s%s:%s:/bin/bash\n", username,
uid + id_offset,
gid + id_offset,
fullname,
@ -441,7 +441,7 @@ main (int argc, char **argv)
if (!GetUserName (name, (len = 256, &len)))
strcpy (name, "unknown");
printf ("%s::%ld:%ld::%s%s:/bin/sh\n", name,
printf ("%s::%ld:%ld::%s%s:/bin/bash\n", name,
DOMAIN_USER_RID_ADMIN,
DOMAIN_ALIAS_RID_ADMINS,
passed_home_path,