diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-11-25 15:12:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-11-25 15:12:50 +0000 |
commit | d1b6d5cd146f9d8cc98b51a15cf31de0ac4be143 (patch) | |
tree | 460ac9c06306e6948a37616bbcf395cfd06779ea | |
parent | efcaf0426a406b43799cc899e3d6bd00d0f777e1 (diff) | |
download | newlib-d1b6d5cd146f9d8cc98b51a15cf31de0ac4be143.zip newlib-d1b6d5cd146f9d8cc98b51a15cf31de0ac4be143.tar.gz newlib-d1b6d5cd146f9d8cc98b51a15cf31de0ac4be143.tar.bz2 |
* mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
-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 545ecd7..06e5216 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 5c56fa9..13fa529 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; } |