summaryrefslogtreecommitdiffstats
path: root/winsup/utils/passwd.c
Commit message (Collapse)AuthorAgeFilesLines
* Add final newlines to utilsJoshua Daniel Franklin2002-09-151-1/+2
|
* * passwd.c: Rearrange includes to avoid unnecessary warnings.Corinna Vinschen2002-06-141-15/+35
| | | | | | | | | | | | (GetPW): Add parameter to (dis)allow printing of Windows username. Use defines instead of numerical constants where possible. Try avoiding impersonation problem. Rearrange to print Windows username only if it's different from Cygwin username. (ChangePW): Use defines instead of numerical constants where possible. (main): Call GetPW with additional parameter. Change error text. * passwd.c (GetPW): Handle case of user-edited /etc/passwd with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).
* * passwd.c (prog_name): New global variable.Corinna Vinschen2002-05-291-39/+105
| | | | | | | | (longopts): Ditto. (opts): Ditto. (usage): Standardize output. Accomodate new options. (print_version): New function. (main): Accomodate longopts and new --help, --version options.
* * mkgroup.c (usage): Use one just fprintf + string concatenation for outputChristopher Faylor2002-03-191-1/+1
| | | | | message. (print_version): Add void to function type and update copyright.
* * passwd.cc (ChangePW): Add parameter to differ between called forCorinna Vinschen2002-01-301-4/+6
| | | | | | | checking old password and called for changing password. If called for checking old password, return non-zero only if password is surely incorrect. (main): Call ChangePW() with additional parameter.
* * passwd.c (main): Initialize oldpwd before beeing used.Corinna Vinschen2000-07-311-0/+1
|
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+352