diff options
author | Christopher Faylor <me@cgf.cx> | 2001-05-01 14:50:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-05-01 14:50:54 +0000 |
commit | edcd155ce6612e705858722e7c97a89eb6e76289 (patch) | |
tree | c8e2d59073340984dea576313e5e5a87ffbb15bd /winsup/utils | |
parent | 4c265f4ab9d9474fe9176e2b807bbc0adf4ead3c (diff) | |
download | newlib-edcd155ce6612e705858722e7c97a89eb6e76289.zip newlib-edcd155ce6612e705858722e7c97a89eb6e76289.tar.gz newlib-edcd155ce6612e705858722e7c97a89eb6e76289.tar.bz2 |
* mkpasswd.c (enum_users): Use /bin/bash as the default shell.
(main): Ditto.
Diffstat (limited to 'winsup/utils')
-rw-r--r-- | winsup/utils/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/utils/mkpasswd.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 4ed7c1e..790c7c4 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -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. diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c index d81db1a..1d8db88 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, |