diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-11-25 18:12:50 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-11-25 18:12:50 +0300 |
commit | d1b6d5cd146f9d8cc98b51a15cf31de0ac4be143 (patch) | |
tree | 460ac9c06306e6948a37616bbcf395cfd06779ea /winsup/utils | |
parent | efcaf0426a406b43799cc899e3d6bd00d0f777e1 (diff) |
* mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
Diffstat (limited to 'winsup/utils')
-rw-r--r-- | winsup/utils/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/utils/mkpasswd.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 545ecd7b6..06e521611 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2002-11-25 Corinna Vinschen <corinna@vinschen.de> + + * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me. + 2002-11-24 Corinna Vinschen <corinna@vinschen.de> * setfacl.c (getperm): Set only `other' permission bits. diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c index 5c56fa98b..13fa529c3 100644 --- a/winsup/utils/mkpasswd.c +++ b/winsup/utils/mkpasswd.c @@ -560,11 +560,11 @@ main (int argc, char **argv) if (passed_home_path[0] == '\0') strcpy (passed_home_path, "/home/"); - printf ("%s::%ld:%ld::%s%s:/bin/bash\n", name, - DOMAIN_USER_RID_ADMIN, - DOMAIN_ALIAS_RID_ADMINS, - passed_home_path, - name); + printf ("%s:*:%ld:%ld::%s%s:/bin/bash\n", name, + DOMAIN_USER_RID_ADMIN, + DOMAIN_ALIAS_RID_ADMINS, + passed_home_path, + name); return 0; } |