Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-01 18:50:54 +0400
committerChristopher Faylor <me@cgf.cx>2001-05-01 18:50:54 +0400
commitedcd155ce6612e705858722e7c97a89eb6e76289 (patch)
treec8e2d59073340984dea576313e5e5a87ffbb15bd /winsup/utils/mkpasswd.c
parent4c265f4ab9d9474fe9176e2b807bbc0adf4ead3c (diff)
* mkpasswd.c (enum_users): Use /bin/bash as the default shell.
(main): Ditto.
Diffstat (limited to 'winsup/utils/mkpasswd.c')
-rw-r--r--winsup/utils/mkpasswd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c
index d81db1aa1..1d8db88ca 100644
--- a/winsup/utils/mkpasswd.c
+++ b/winsup/utils/mkpasswd.c
@@ -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,